Skip to content

Commit cea2adf

Browse files
authored
chore(anomaly detection): Add logs for subscription processor (#87456)
Still trying to figure out why Seer is getting null values sometimes so I'm putting these logs back to continue investigating.
1 parent 47bb53b commit cea2adf

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

src/sentry/incidents/subscription_processor.py

+8
Original file line numberDiff line numberDiff line change
@@ -423,6 +423,14 @@ def process_update(self, subscription_update: QuerySubscriptionUpdate) -> None:
423423
has_anomaly_detection
424424
and self.alert_rule.detection_type == AlertRuleDetectionType.DYNAMIC
425425
):
426+
logger.info(
427+
"Raw subscription update",
428+
extra={
429+
"result": subscription_update,
430+
"aggregation_value": aggregation_value,
431+
"rule_id": self.alert_rule.id,
432+
},
433+
)
426434
with metrics.timer(
427435
"incidents.subscription_processor.process_update.get_anomaly_data_from_seer"
428436
):

0 commit comments

Comments
 (0)