We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent be231dc commit 9b9e176Copy full SHA for 9b9e176
src/sentry/workflow_engine/handlers/detector/stateful.py
@@ -379,6 +379,9 @@ def _has_breached_threshold(
379
self,
380
updated_threshold_counts: DetectorCounters,
381
) -> DetectorPriorityLevel | None:
382
+ # TODO @saponifi3d - Should this only be for thresholds configured on the detector?
383
+ # If so, gather the self.detector.when_condition_group.conditions()
384
+ # and see which ones are configured.
385
threshold_keys: list[DetectorPriorityLevel] = list(self._thresholds.keys())
386
threshold_keys.sort(reverse=True)
387
for level in threshold_keys:
0 commit comments