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.
Chartbrew sends POST
requests to the webhook URL with the following payload:
chart
- the chart name as a string
alert
- the alert configuration
type
- the alert type is one of milestone
, threshold_above
, threshold_below
, threshold_between
, threshold_outside
, anomaly
rules
- this is an object
that shows the trigger rules for the alertalertsFound
- an array
of objects
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 locatedExample payload:
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.