Prometheus
Use the Hotpot Prometheus integration to receive pages for Prometheus alerts. Hotpot understands Prometheus events through Alertmanager to create moments.
To enable the Prometheus integration, go to Organization Settings > Integrations > Prometheus integration. After enabling the integration, each team can create a webhook to process and understand Prometheus events.
Send events to Hotpot
Prometheus uses Alertmanager to send notifications. To enable Alertmanager to send events to Hotpot, add Hotpot as a receiver.
Page receiver
To initiate a paging notification from an alert, supply the page webhook endpoint.
receivers:
- name: hotpot_page
webhook_configs:
- url: 'https://api.hotpot.works/page/[API TOKEN]/prometheus'
Moment receiver
To create a moment from an alert, supply the moment webhook endpoint.
receivers:
- name: hotpot_moment
webhook_configs:
- url: 'https://api.hotpot.works/moment/[API TOKEN]/prometheus'
To see the incoming requests, go to the Prometheus integration page > Events tab or Team Settings > Webhooks.