Prometheus

Send monitoring events from Prometheus to BigPanda.

Supported VersionsTypeAuthentication Type
Alertmanager <= v0.24.0WebhookOrg Bearer Token

The Prometheus integration works by configuring a webhook notifier in Prometheus Alertmanager. The webhook notifier forwards any specified alert to the Prometheus integration where it is normalized and transmitted to BigPanda. BigPanda then processes and correlates the alert data from Prometheus to create and maintain up-to-date incidents in BigPanda.

🚧

Caution When Enabling Prometheus

Prometheus can be a noisy monitoring system. For customers using the BigPanda consumption based pricing model, it can consume large amounts of credits very quickly.

Exercise caution when adding the BigPanda receiver to the default route. Instead, consider adding the receiver only to routes that you know contain valuable information rather than noisy routes.

👍

The Open Integration Manager is available for use with Prometheus. For more information, see the Open Integration Manager documentation.

Key Features

  • Uses native webhook notifier in Prometheus Alertmanager to forward alerts to BigPanda.
  • Automatically resolves incidents in BigPanda when they resolve in Prometheus Alertmanager.
  • Extensible alert formatting using Prometheus Alertmanager notification templates.
  • Intelligently correlates alerts from Prometheus Alertmanager to help you understand and respond faster to production issues.

Data Model

BigPanda normalizes alert data from Prometheus into tags. You can use tag values to filter the incident feed and to define filter conditions for environments. The primary and secondary properties are also used during the deduplication and correlation processes. The following specifies the mapping of Prometheus alert properties to BigPanda tags:

BigPanda PropertyPrometheus Property
primary_propertySee Primary & Secondary Key Logic
secondary_propertySee Primary & Secondary Key Logic
statusDetermined from severity AND/OR status
descriptionannotations.description
summaryannotations.summary
startsAtstartsAt
endsAtendsAt
generatorURLgeneratorURL
source_system"prometheus"
timestamptimestamp OR auto-generated if not sent

Primary and Secondary Key Logic

The primary and secondary for BigPanda alerts are dynamically selected based on properties present within the Prometheus alert. Both primary and secondary properties can also be overridden.

Primary Property Determination

  • Set to value of bp_primary_property if bp_primary_property annotation exists
  • Set to instance if the instance label exists and bp_primary_property annotation does not
  • Set to job if the job label exists and both instance label and bp_primary_property annotation do not
  • Set to alertname if no other matching annotation or label

Determining Secondary Property

  • Set to value of bp_secondary_property if bp_secondary_property annotation exists
  • Set to alertname if primary property is not already set to alertname
  • Omitted if no other condition is satisified

Install the Integration

Administrators can install the integration by following the on-screen instructions in BigPanda.

Deactivate the Integration in BigPanda

If you want to stop sending data to BigPanda but don’t want to delete your integration, you can temporarily deactivate it.

To deactivate an integration:

  1. In BigPanda, navigate to the Integrations tab and select the desired integration from the list. This will open integration details on the right side of the window.
  2. At the top of the integration details, click the Active/Inactive toggle next to the application name to change the status of the integration.

🚧

Alert Resolution for Inactive Integrations

Any active alerts belonging to an inactive integration must be manually resolved or they will stay in the system until the auto-resolve window is reached.

Uninstall the Integration

Deleting an integration requires changes to both the integrated system and BigPanda. You must uninstall the integration on the integrated system and then delete the integration from BigPanda.

🚧

When replacing an existing integration with a new tool or system, we recommend configuring the new integration first to ensure no data is lost.

Remove the Integration from Prometheus

  1. Sign in to your Prometheus Alertmanager server.
  2. Open your Alertmanager config YAML file for editing.
  3. Remove the webhook configuration for BigPanda.
  4. If you have a dedicated receiver for BigPanda also remove the entire receiver and remove the receiver from the route you were sending on.
  5. Save the config file.
  6. Restart your Alertmanager server so it loads the updated configuration.

Manually Resolve All Open Alerts

Manually resolve any open Prometheus alerts as they will not auto-resolve with the integration removed.

Delete the Integration in BigPanda

  1. In BigPanda, navigate to the Integrations tab and select the desired integration from the list.
  2. In the integration details on the right of the page, click the trash icon, then confirm you want to delete the integration. The integration will then be removed immediately.

👍

Alert Resolution for Deleted Integrations

All active alerts from the integration will be resolved after deletion.

️Data Removal

This procedure does not remove any data from the integrated system.