@posthog/pagerduty-plugin

0.0.7 • Public • Published

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?

Join our Slack community.

We're here to help you with anything PostHog!

Package Sidebar

Install

npm i @posthog/pagerduty-plugin

Weekly Downloads

3

Version

0.0.7

License

MIT

Unpacked Size

16.6 kB

Total Files

8

Last publish

Collaborators

  • robbie-c
  • fraserhopper
  • manoelposthog
  • watilo
  • ben-posthog
  • twixes
  • fuziontech
  • mariusandra
  • timgl