Configure webhook in Prometheus

Configure webhook endpoint in Prometheus so that Incident Response can communicate with Prometheus using the endpoint.

Before you begin

Ensure you have installed Prometheus Alertmanager.

Role required: Responder, Manager, or Administrator

About this task

Configure the Prometheus Alertmanager to route alerts to Lightstep Incident Response through the webhook endpoint for the Prometheus integration in Incident Response.

Note: While this integration with a third-party product is supported, the documentation here is based upon information provided by that third-party. More current information about the operation of that third-party’s system may be available from them directly.


  1. Open the Prometheus instance.
  2. Open the alertmanager.yml file and configure the receiver as webhook.
  3. Enter the webhook generated from Incident Response as the url value.
    Webhook configuration.
  4. Save the file.
  5. In the prometheus configuration file prometheus.yml, specify the Alertmanager instance containing the Incident Response webhook URL.
  6. Save the file.
  7. In the Prometheus rules file prometheus.rules.yml, create alerting rules to define alert conditions.

    If Metric Name, Type, Resource, and Node needs to be mapped to an alert, you need to provide that information under labels in the payload as given in Sample alert from Prometheus.

  8. Save the file.
  9. Start the Prometheus and the Alertmanager servers.


When alert conditions are met in Prometheus, alerts are created in Incident Response.