Add telemetry to get insight in update preferences.

This commit is contained in:
James Cole
2020-08-28 21:04:29 +02:00
parent 56ea680e46
commit 82b49a9e51

View File

@@ -413,6 +413,7 @@ class RuleRepository implements RuleRepositoryInterface
'stop_processing' => $stopProcessing,
'order' => $order,
];
app('telemetry')->feature('rules.actions.uses_action', $action['type']);
$this->storeAction($rule, $actionValues);
}
@@ -449,6 +450,7 @@ class RuleRepository implements RuleRepositoryInterface
'stop_processing' => $stopProcessing,
'order' => $order,
];
app('telemetry')->feature('rules.triggers.uses_trigger', $trigger['type']);
$this->storeTrigger($rule, $triggerValues);
++$order;