Skip to content

Firefly III: a personal finances manager

Add telemetry to get insight in update preferences.

James Cole82b49a9e511d
diff --git a/app/Repositories/Rule/RuleRepository.php b/app/Repositories/Rule/RuleRepository.php
index 2506b2519b..40647899f7 100644
--- a/app/Repositories/Rule/RuleRepository.php
+++ b/app/Repositories/Rule/RuleRepository.php
@@ -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;