Enable feature telemetry

This commit is contained in:
James Cole
2020-05-24 12:12:06 +02:00
parent 86a87cc951
commit b8668b44a0
45 changed files with 54 additions and 54 deletions

View File

@@ -83,7 +83,7 @@ class CorrectDatabase extends Command
echo $result;
}
// app('telemetry')->feature('system.command.executed', $this->signature);
app('telemetry')->feature('system.command.executed', $this->signature);
return 0;
}

View File

@@ -77,7 +77,7 @@ class CorrectOpeningBalanceCurrencies extends Command
$this->info('There was nothing to fix in the opening balance transactions.');
}
// app('telemetry')->feature('system.command.executed', $this->signature);
app('telemetry')->feature('system.command.executed', $this->signature);
return 0;
}

View File

@@ -78,7 +78,7 @@ class CreateAccessTokens extends Command
$end = round(microtime(true) - $start, 2);
$this->info(sprintf('Verify access tokens in %s seconds.', $end));
// app('telemetry')->feature('system.command.executed', $this->signature);
app('telemetry')->feature('system.command.executed', $this->signature);
return 0;
}

View File

@@ -79,7 +79,7 @@ class CreateLinkTypes extends Command
$end = round(microtime(true) - $start, 2);
$this->info(sprintf('Verified link types in %s seconds', $end));
// app('telemetry')->feature('system.command.executed', $this->signature);
app('telemetry')->feature('system.command.executed', $this->signature);
return 0;
}

View File

@@ -76,7 +76,7 @@ class DeleteEmptyGroups extends Command
$end = round(microtime(true) - $start, 2);
$this->info(sprintf('Verified empty groups in %s seconds', $end));
// app('telemetry')->feature('system.command.executed', $this->signature);
app('telemetry')->feature('system.command.executed', $this->signature);
return 0;
}

View File

@@ -58,7 +58,7 @@ class DeleteEmptyJournals extends Command
$this->deleteUnevenJournals();
$this->deleteEmptyJournals();
// app('telemetry')->feature('system.command.executed', $this->signature);
app('telemetry')->feature('system.command.executed', $this->signature);
return 0;
}

View File

@@ -62,7 +62,7 @@ class DeleteOrphanedTransactions extends Command
$end = round(microtime(true) - $start, 2);
$this->info(sprintf('Verified orphans in %s seconds', $end));
// app('telemetry')->feature('system.command.executed', $this->signature);
app('telemetry')->feature('system.command.executed', $this->signature);
return 0;
}

View File

@@ -78,7 +78,7 @@ class DeleteZeroAmount extends Command
$end = round(microtime(true) - $start, 2);
$this->info(sprintf('Verified zero-amount integrity in %s seconds', $end));
// app('telemetry')->feature('system.command.executed', $this->signature);
app('telemetry')->feature('system.command.executed', $this->signature);
return 0;
}

View File

@@ -101,7 +101,7 @@ class EnableCurrencies extends Command
$end = round(microtime(true) - $start, 2);
$this->info(sprintf('Verified currencies in %s seconds.', $end));
// app('telemetry')->feature('system.command.executed', $this->signature);
app('telemetry')->feature('system.command.executed', $this->signature);
return 0;
}

View File

@@ -106,7 +106,7 @@ class FixAccountTypes extends Command
$end = round(microtime(true) - $start, 2);
$this->info(sprintf('Verifying account types took %s seconds', $end));
// app('telemetry')->feature('system.command.executed', $this->signature);
app('telemetry')->feature('system.command.executed', $this->signature);
return 0;
}

View File

@@ -75,7 +75,7 @@ class FixLongDescriptions extends Command
$end = round(microtime(true) - $start, 2);
$this->info(sprintf('Verified all transaction group and journal title lengths in %s seconds.', $end));
// app('telemetry')->feature('system.command.executed', $this->signature);
app('telemetry')->feature('system.command.executed', $this->signature);
return 0;
}
}

View File

@@ -98,7 +98,7 @@ class FixPiggies extends Command
$end = round(microtime(true) - $start, 2);
$this->line(sprintf('Verified the content of %d piggy bank events in %s seconds.', $set->count(), $end));
// app('telemetry')->feature('system.command.executed', $this->signature);
app('telemetry')->feature('system.command.executed', $this->signature);
return 0;
}
}

View File

@@ -67,7 +67,7 @@ class FixRecurringTransactions extends Command
$end = round(microtime(true) - $start, 2);
$this->info(sprintf('Corrected recurring transactions %s seconds.', $end));
// app('telemetry')->feature('system.command.executed', $this->signature);
app('telemetry')->feature('system.command.executed', $this->signature);
return 0;
}

View File

@@ -75,7 +75,7 @@ class FixUnevenAmount extends Command
$end = round(microtime(true) - $start, 2);
$this->info(sprintf('Verified amount integrity in %s seconds', $end));
// app('telemetry')->feature('system.command.executed', $this->signature);
app('telemetry')->feature('system.command.executed', $this->signature);
return 0;
}

View File

@@ -71,7 +71,7 @@ class RemoveBills extends Command
$end = round(microtime(true) - $start, 2);
$this->info(sprintf('Verified bills / journals in %s seconds', $end));
// app('telemetry')->feature('system.command.executed', $this->signature);
app('telemetry')->feature('system.command.executed', $this->signature);
return 0;
}
}

View File

@@ -83,7 +83,7 @@ class RenameMetaFields extends Command
$end = round(microtime(true) - $start, 2);
$this->info(sprintf('Renamed meta fields in %s seconds', $end));
// app('telemetry')->feature('system.command.executed', $this->signature);
app('telemetry')->feature('system.command.executed', $this->signature);
return 0;
}

View File

@@ -74,7 +74,7 @@ class TransferBudgets extends Command
$end = round(microtime(true) - $start, 2);
$this->info(sprintf('Verified budget/journals in %s seconds.', $end));
// app('telemetry')->feature('system.command.executed', $this->signature);
app('telemetry')->feature('system.command.executed', $this->signature);
return 0;
}
}