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

@@ -87,7 +87,7 @@ class AccountCurrencies extends Command
$this->info(sprintf('Verified and fixed account currencies in %s seconds.', $end));
$this->markAsExecuted();
// 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 BackToJournals extends Command
$this->info(sprintf('Updated category and budget info for all transaction journals in %s seconds.', $end));
$this->markAsExecuted();
// app('telemetry')->feature('system.command.executed', $this->signature);
app('telemetry')->feature('system.command.executed', $this->signature);
return 0;
}

View File

@@ -92,7 +92,7 @@ class BudgetLimitCurrency extends Command
$this->markAsExecuted();
// app('telemetry')->feature('system.command.executed', $this->signature);
app('telemetry')->feature('system.command.executed', $this->signature);
return 0;
}

View File

@@ -91,7 +91,7 @@ class CCLiabilities extends Command
$this->info(sprintf('Verified credit card liabilities in %s seconds', $end));
$this->markAsExecuted();
// 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 MigrateAttachments extends Command
$this->info(sprintf('Migrated attachment notes in %s seconds.', $end));
$this->markAsExecuted();
// app('telemetry')->feature('system.command.executed', $this->signature);
app('telemetry')->feature('system.command.executed', $this->signature);
return 0;
}

View File

@@ -100,7 +100,7 @@ class MigrateJournalNotes extends Command
$this->info(sprintf('Migrated notes in %s seconds.', $end));
$this->markAsExecuted();
// app('telemetry')->feature('system.command.executed', $this->signature);
app('telemetry')->feature('system.command.executed', $this->signature);
return 0;
}

View File

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

View File

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

View File

@@ -112,7 +112,7 @@ class MigrateToGroups extends Command
$this->markAsMigrated();
// app('telemetry')->feature('system.command.executed', $this->signature);
app('telemetry')->feature('system.command.executed', $this->signature);
return 0;
}

View File

@@ -99,7 +99,7 @@ class MigrateToRules extends Command
$this->info(sprintf('Verified and fixed bills in %s seconds.', $end));
$this->markAsExecuted();
// app('telemetry')->feature('system.command.executed', $this->signature);
app('telemetry')->feature('system.command.executed', $this->signature);
return 0;
}

View File

@@ -90,7 +90,7 @@ class OtherCurrenciesCorrections extends Command
$end = round(microtime(true) - $start, 2);
$this->info(sprintf('Verified and fixed transaction 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

@@ -91,7 +91,7 @@ class RenameAccountMeta extends Command
$end = round(microtime(true) - $start, 2);
$this->info(sprintf('Fixed account meta data 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 TransactionIdentifier extends Command
$this->info(sprintf('Verified and fixed transaction identifiers in %s seconds.', $end));
$this->markAsExecuted();
// app('telemetry')->feature('system.command.executed', $this->signature);
app('telemetry')->feature('system.command.executed', $this->signature);
return 0;
}

View File

@@ -111,7 +111,7 @@ class TransferCurrenciesCorrections extends Command
$end = round(microtime(true) - $start, 2);
$this->info(sprintf('Verified and fixed currency information for transfers in %s seconds.', $end));
// app('telemetry')->feature('system.command.executed', $this->signature);
app('telemetry')->feature('system.command.executed', $this->signature);
return 0;
}

View File

@@ -117,7 +117,7 @@ class UpgradeDatabase extends Command
// index will set FF3 version.
app('fireflyconfig')->set('ff3_version', (string) config('firefly.version'));
// app('telemetry')->feature('system.command.executed', $this->signature);
app('telemetry')->feature('system.command.executed', $this->signature);
return 0;
}