Skip to content

:hedgehog: PostHog is the leading platform for building self-driving products. Our developer tools – AI observability, analytics, session replay, flags, experiments, error tracking, logs, and more – capture all the context agents need to diagnose problems, uncover opportunities, and ship fixes. Steer it all from Slack, web, desktop, or the MCP.

feat(alerts): track investigation opt-in (#86068)

Matt Pua6321eb981f29
diff --git a/products/alerts/backend/models/alert.py b/products/alerts/backend/models/alert.py
index dede84fc73dc..d1d51fc41abe 100644
--- a/products/alerts/backend/models/alert.py
+++ b/products/alerts/backend/models/alert.py
@@ -256,6 +256,7 @@ class AlertConfiguration(ModelActivityMixin, CreatedMetaFields, UUIDTModel):
"calculation_interval": self.calculation_interval,
"is_high_frequency_interval": self.is_high_frequency_interval,
"enabled": self.enabled,
+ "investigation_agent_enabled": self.investigation_agent_enabled,
"skip_weekend": bool(self.skip_weekend),
"has_schedule_restriction": has_schedule_restriction,
"has_threshold": has_threshold,