Explore documentation
Prometheus & Better Stack integration
This integration allows you to create Uptime incidents from Prometheus automatically
Connecting Prometheus and Uptime
1. In the Uptime dashboard
- Log into your Uptime dashboard and on the left panel click Integrations
- Click the Importing data tab
- Scroll down and look for the Infrastructure monitoring section
- Find the Prometheus card and click the Add button
In the new window, name your Prometheus integration (e.g.: Backend service) and click Save changes. Don't close the Uptime dashboard just yet, you'll need it in a moment.
2. In the Prometheus
Open the Prometheus Alertmanager configuration file
alertmanager.yml
Add a new webhook receiver with the URL found in the Prometheus webhook URL section in Uptime Prometheus integration settings, or paste the content of our sample
alertmanager.yml
found in the PSample configuration file in Uptime Prometheus integration settings or copy it from below:route: receiver: uptime receivers: - name: uptime webhook_configs: - url: https://uptime.betterstack.com/api/v1/prometheus/webhook/a6SD6giRjW7FTaYHxr9LryGo
Save
alertmanager.yml
and reload the Alertmanager service