Integrations
Webhooks
Learn how to set up webhooks for your charts
Webhooks are used by Chartbrew to send chart alerts. Chartbrew also supports sending data to Slack through the Incoming Webhook integration.
Webhook chart alerts
Chartbrew sends POST
requests to the webhook URL with the following payload:
chart
- the chart name as astring
alert
- the alert configurationtype
- the alert type is one ofmilestone
,threshold_above
,threshold_below
,threshold_between
,threshold_outside
,anomaly
rules
- this is anobject
that shows the trigger rules for the alert
alertsFound
- anarray
ofobjects
containing a label and a value for each item on the chart that triggered the alertdashboardUrl
- the URL to the dashboard where the chart is located
Example payload:
Slack webhook
When sending data to Slack, Chartbrew will also attach a blocks
property to the payload. This is an array of objects
that contain the Slack blocks to be rendered in the message.