Description: Canary supports outgoing webhooks from the console to an endpoint of your choice. This event-driven approach means you get your alerts as they occur, instead of waiting to poll the server. We support your favourite apps such as Slack and Microsoft Teams. We also have a Generic option that can be used just as well.
Follow the steps below to enable and setup a Generic Webhook on your Canary console. In this example we’ll post data to requestb.in, a public tool for assisting in webhook development. It’s useful to see what data is posted in the webhook, but we don’t recommend using it for production purpose. You can consume the webhook by writing a custom endpoint and hosting it on infrastructure under your control.
Login to your console.
Click on "Setup" to go to the Canary settings page.
Click on "Webhooks" from the menu.
Turn on "Webhook Incident Reporting".
Once turned on you can click on "Generic".
...and then click on "Add Generic Webhook":
You will need to have an endpoint to post notifications to. We have used requestb.in as the endpoint.
Clicking on "Create a RequestBin" to create a RequestBin URL to post notifications to (All information is posted in a json format).
Copy the Bin URL that is given.
Paste the Bin URL into the Generic Webhooks on your console.
Click "Save" to save the changes.
Once saved a notification will be posted to the RequestBin URL that was created.
All alerts will now be posted to the RequestBin URL.
The structure of the JSON object is as follows: