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(ingestion): add errortracking pipeline option to event restrictions (#58002)

Paweł Ledwoń6aa63cf391c8
diff --git a/posthog/models/event_ingestion_restriction_config.py b/posthog/models/event_ingestion_restriction_config.py
index b3cf972e036c..e0ba8ed3cb6f 100644
--- a/posthog/models/event_ingestion_restriction_config.py
+++ b/posthog/models/event_ingestion_restriction_config.py
@@ -15,6 +15,7 @@ DYNAMIC_CONFIG_REDIS_KEY_PREFIX = "event_ingestion_restriction_dynamic_config"
INGESTION_PIPELINES = [
{"value": "analytics", "label": "Analytics Pipeline"},
{"value": "session_recordings", "label": "Session Recordings Pipeline"},
+ {"value": "errortracking", "label": "Error Tracking Pipeline"},
]
@@ -33,6 +34,7 @@ class RestrictionType(models.TextChoices):
class IngestionPipeline(models.TextChoices):
ANALYTICS = "analytics"
SESSION_RECORDINGS = "session_recordings"
+ ERRORTRACKING = "errortracking"
class EventIngestionRestrictionConfig(UUIDTModel):