@posthog/pagerduty-plugin
v0.0.7
Published
Create PagerDuty incidents when a posthog query crosses a threshold
Downloads
11
Readme
PostHog PagerDuty plugin
This plugin alerts PagerDuty when a PostHog insights/trends graph goes below or above a threshold.
Example use cases:
- alert when there is no $pageviews captured on my site the past hour,
- alert when the rate of $billing_error events crosses a threshold.
Configuring
- Get the trends URL.
- Go to insights
- Construct the graph you want to alert on
- Copy URL
- Choose threshold and operator (less than or equal, greater than or equal)
- Enter PagerDuty service integration key (for Events API v2)
Limitations
- Only works on single-line trend graphs
- Requires PostHog 1.26.0 or Cloud
Questions?
Join our Slack community.
We're here to help you with anything PostHog!