@posthog/ingestion-alert-plugin

0.0.7 • Public • Published

Posthog Ingestion Alert Plugin

License: MIT

Purpose of this plugin

This plugin triggers a webhook when no events have been ingested for a specified period of time. It can be used to alert you when ingestion for your project / instance is not working correctly.

How to install

  1. Open PostHog.
  2. Open the Plugins page from the sidebar.
  3. Head to the Advanced tab.
  4. "Install from GitHub, GitLab or npm" using this repository's URL.

Things to be aware of

  • If you do not have a lot of users, or they are all based in the same timezone you may legitimately have 'dead periods' where no events are generated - increase the threshold if you wish reduce the noise, you can use the heartbeat plugin to trigger events during dead periods if you wish to only monitor the ingestion pipeline
  • If an alert has already been triggered and ingestion has not recovered for an extended period, you will not receive another reminder that it is down
  • This is helpful to monitor if there are any ingestion issues within your posthog instance and within your setup (e.g. using the wrong project key)
  • If the plugin server itself is down, this plugin will not be able to alert you that ingestion has stopped

Questions?

Join our Slack community.

We're here to help you with anything PostHog!

Readme

Keywords

Package Sidebar

Install

npm i @posthog/ingestion-alert-plugin

Weekly Downloads

0

Version

0.0.7

License

MIT

Unpacked Size

74.9 kB

Total Files

7

Last publish

Collaborators

  • fraserhopper
  • manoelposthog
  • watilo
  • xavier-posthog
  • ben-posthog
  • twixes
  • fuziontech
  • mariusandra
  • timgl