Skip to content

Creates an incident in pagerduty when a posthog query crosses a threshold

License

Notifications You must be signed in to change notification settings

PostHog/posthog-pagerduty-plugin

Repository files navigation

PostHog PagerDuty plugin

License: MIT

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

  1. Get the trends URL.
  • Go to insights
  • Construct the graph you want to alert on
  • Copy URL
  1. Choose threshold and operator (less than or equal, greater than or equal)
  2. 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?

We're here to help you with anything PostHog!

About

Creates an incident in pagerduty when a posthog query crosses a threshold

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 4

  •  
  •  
  •  
  •