Coralogix AlertsΒΆ
This guide shows how to send alerts from Coralogix to Robusta.
For configuring metric querying from Coralogix Prometheus, see Coralogix.
Send Alerts to RobustaΒΆ
This integration lets you send Coralogix alerts to Robusta.
To configure it:
In the Coralogix site go to Data Flow, then Outbound Webhooks, and click
Generic webhook
.In the url insert:
https://api.robusta.dev/integrations/generic/alertmanager
Select the Post Method.
In the Edit headers replace it with
{
"Content-Type": "application/json",
"Authorization": "Bearer <TOKEN>" # where token is '<ACCOUNT_ID> <SIGNING_KEY>'
}
In Edit body add
{
"externalURL": "",
"groupKey": "{}/{}:{}",
"version": "1",
"status": "firing",
"receiver": "robusta receiver",
"alerts": [
{
"description": "$ALERT_DESCRIPTION",
"status": "firing",
"endsAt": "$EVENT_TIMESTAMP_MS",
"startsAt": "$EVENT_TIMESTAMP_MS",
"generatorURL": "$ALERT_URL",
"annotations": {},
"labels": {
"cluster_name": "MY_CLUSTER_NAME", # make sure to add your cluster name here for this webhook. Both "cluster" or "cluster_name" labels are also supported
"alertname": "$ALERT_NAME",
"alert_url": "$ALERT_URL"
# Add any additional alert specific fields here
# see here for more parameters https://coralogix.com/docs/alert-webhooks/#custom-alert-webhooks
}
}
]
}
Click the 'Test Config' button and check your robusta sink for a "Test configuration" alert.
Click Save
Configure Metric QueryingΒΆ
To enable Robusta to pull metrics from Coralogix Prometheus, see Coralogix metrics provider settings.