Prometheus + Better Uptime integration

This integration allows you to create Better Uptime incidents from Prometheus automatically

Connecting Prometheus and Better Uptime

1. In the Better Uptime dashboard

  1. Log into your Better 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 Better 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 Better Uptime Prometheus integration settings, or paste the content of our sample alertmanager.yml found in the PSample configuration file in Better Uptime Prometheus integration settings or copy it from below:

    route:
      receiver: betteruptime
    
    receivers:
      - name: betteruptime
        webhook_configs:
          - url: 
    https://betteruptime.com/api/v1/prometheus/webhook/a6SD6giRjW7FTaYHxr9LryGo
    
    Copied!
  8. Save alertmanager.yml and reload the Alertmanager service