Skip to main content

Webhooks

Webhooks integration trigger incidents from your Epsagon environment directly to your webhook.

webhooks.svg

Set up an alert#

Go to the alerts screen. You can create an alert, and in the channels, select Webhook and copy your webhook URL:

webhooks.png

Message Format#

Structure:

{  "time": Epoch timestamp of the issue | Float,  "alert": Alert message | String,  "entity": The affected entity/resource | String,  "occurrences": Total number of occurences for this issue | Integer,  "url": Link to explore the issue in Epsagon| String}

Example:

{  "time": 1609235168.156936,  "alert": "unsupported operand type(s) for +: 'function' and 'int'",  "entity": "blog-site-app-prod-Request-Processor",  "occurrences": 34684,  "url": "https://app.epsagon.com/issues?issue_id=app_name%3Ablog-site-prod%23entity_name%3Ablog-site-app-prod-Request-Processor%23entity_type%3Alambda%23event_type%3Alambda-function%23is_opentracing_span%3AFalse%23is_warning%3AFalse%23token%3A3f9032c7-18f7-4951-be8c-f1738f504afc%23type%3ATypeError%23vendor_account_id%3A955733877896"}

Cooldown#

There is a 5 minute cool down on alerts for each issue