Explore documentation
Prometheus & Better Stack integration
This integration allows you to create Better Stack incidents from Prometheus automatically.
Connecting Prometheus and Better Stack
- Go to Integrations and click the Importing data tab.
- Find the Prometheus Alertmanager card and click Add.
- Name your Prometheus integration (for example, "Backend service") and click Save changes.
- Copy the webhook URL from the integration settings.
In Prometheus
- Open your
alertmanager.ymlconfiguration file. Add a new webhook receiver using the URL from your Better Stack integration settings. Here is an example:
alertmanager.ymlSave
alertmanager.ymland reload the Alertmanager service.
That's it. Now, when Prometheus fires an alert, an incident will be created in Better Stack.