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

@@ -112,7 +112,7 @@ class ApplyRules extends Command
$result = $this->verifyInput();
if (false === $result) {
// app('telemetry')->feature('executed-command-with-error', $this->signature);
app('telemetry')->feature('system.command.errored', $this->signature);
return 1;
}
@@ -131,7 +131,7 @@ class ApplyRules extends Command
$this->warn(' --rule_groups=1,2,...');
$this->warn(' --all_rules');
// app('telemetry')->feature('executed-command-with-error', $this->signature);
app('telemetry')->feature('system.command.errored', $this->signature);
return 1;
}
@@ -167,7 +167,7 @@ class ApplyRules extends Command
$this->line('');
$this->line('Done!');
// app('telemetry')->feature('system.command.executed', $this->signature);
app('telemetry')->feature('system.command.executed', $this->signature);
return 0;
}