Error tracking alerts

Last updated:

|Edit this page

To stay on top of issues, you can set up alerts. These enable you to post to Slack, Discord, Teams, or an HTTP Webhook when an issue is created or reopened.

To create an issue alert, go to error tracking's configuration page and click Alerting. This shows you a list of existing alerts. Clicking New notification brings you to a page to create a new one.

Error tracking alerting

Choosing an option brings you to a page to configure the alert. This may require setting up the Slack integration or pasting in a webhook URL. Once done, you can test the alert by clicking Test function and then finalize by clicking Create & enable.

This will then send alerts to your chosen destination when an issue is created or reopened like this:

Slack notification

Other alerting options

Since error tracking works by capturing $exception events, PostHog features that trigger by events can play a role in alerts too.

Real time destinations

The first way is using real time destinations. This enables you to send events (like $exception) to other tools as soon as they are ingested.

To create a real time destination, go to the data pipelines tab in PostHog, click + New, and then select Destination. Choose your destination and press + Create.

On the destination creation screen, make sure to add an event matcher for the $exception event, filter for the properties you want, and set the trigger options.

Real time destination

Check out our real time destinations docs for more information.

Trend alerts

You can also visualize your $exception events using trends. Once you create a trend insight, click the Alerts button at the top of the insight and then New alert.

Here you can set alerts for event volume value, increase, or decrease.

Insight alert

This sends an email notification to the user you choose. Check out our alerts docs for more information.

Questions? Ask Max AI.

It's easier than reading through 624 docs articles.

Community questions

Was this page useful?

Next article

Troubleshooting and FAQs

FAQs How much does error tracking cost? While in beta, error tracking is free . That means $exception events do not count as events towards your bill. Are web workers supported? Yes. Error tracking will work as long as you initialize PostHog in the web worker . You will need to disable any features that rely on the window object: To identify users in web workers you will need to pass the distinct ID. This can be done via an env variable or sending it via postMessage from your main…

Read next article