Prometheus & Better Stack integration

This integration allows you to create Uptime incidents from Prometheus automatically

Connecting Prometheus and Uptime

1. In the Uptime dashboard

  1. Log into your Uptime dashboard and on the left panel click Integrations
  2. Click the Importing data tab
  3. Scroll down and look for the Infrastructure monitoring section
  4. Find the Prometheus card and click the Add button
  5. 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

  6. Open the Prometheus Alertmanager configuration file alertmanager.yml

  7. 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
    
  8. Save alertmanager.yml and reload the Alertmanager service