Prometheus Alert
Use API Webhook to ingest alert data from Prometheus monitoring platform, then process the data into standard events for ONE platform.
Prerequisites
- ONE platform must be able to reach the Prometheus environment.
Getting started
ONE Platform Setup
- Navigate to Integrations → Pulgins, locate the Prometheus card, click Start Integration, and choose WebHook Push for Prometheus Alerts.
- Fill in the required parameters and copy the generated WebHook push URL.
Prometheus Setup
- Edit the Alertmanager config file under Prometheus, add the following webhook_configs: block to forward alerts via WebHook.
receivers:
- name: 'alert'
webhook_configs:
- url: 'http://xxxx/alert/upload/event/${key}'
send_resolved: true
tip
The WebHook URL appears only after the event source is saved.
Configure Data Stream
- ONE platform provides an out-of-the-box default data stream.
- You can also manually configure the stream for specific monitoring scenarios.
Verification
Check the standard event data under Insights → Event Query.