Checkly Logo

Integrate Checkly with TaskCall for Monitoring Alerts

Checkly is an API & E2E monitoring platform. It allows companies to monitor all their API and browser click flows from a single console. The checks are done from different locations to help you understand how performance varies across regions. TaskCall's Checkly integration allows failures and degradations in checks discovered by Checkly to be directed to the correct on-call responders so they can address them in real-time. Notifications are sent via email, push notifications, SMS, voice calls and chat-ops integrations to increase their visibility.

Pointers

  • The integration is between a TaskCall service and Checkly.
  • Incidents will automatically resolve in TaskCall when checks recover.
  • This integration only receives alerts in TaskCall from Checkly.

In TaskCall

  1. Go to Configurations > Integrations and click New Integration.
  2. Select the Checkly integration.
  3. Give the integration a name and configure how incidents will be created. Only the Default Service field is required. The rest are optional.
  4. Incidents (Optional)
    1. TaskCall automatically maps incoming payloads with internal attributes to create incidents. However, this can be customized in the Incidents tab. Constant values can be included alongside placeholders to dictate which attributes should map to the Incident Title, Description, Tags, Snapshots and Vendor URL. To insert a placeholder use double curly braces.

      Incoming Webhook Incident Tab

      For example, if you enter {{ alert.title }} in the Incident Title field, TaskCall will look for an attribute called "title" nested inside another attribute called "alert" in the incoming payload. If the nested attribute exists, its corresponding value will be pulled from the payload and inserted. If the nested attribute does not resolve successfully, TaskCall will fall back to the default mapping.

      If you are unsure, please leave the fields empty. TaskCall will use the default mapping to create the incident for you.
    2. Select the Urgency level the incident should be created at.
    3. Select the option to Group similar alerts together if you would like follow up triggers from the same alert source to be grouped into the same incident. If you leave this option unchecked, then a new incident will be created for every trigger. (This behavior is specific to new triggers; not updates to an alert.)
    4. Click Next to move on to the Services tab.
  5. Services (Required)
    1. Select the Default Service incidents should be sent to. To route incidents to different services instead, set Map With Attribute to the attribute to route by using a placeholder. Then, map each value it can take to the service that should receive it.

      For example, to route by a region attribute sent in the payload, set Map With Attribute to {{ region }}, then map US to one service and EU to another, and so on.

      Incoming Webhook Services Tab
    2. Click Next to move on to the Authorization tab.
  6. Authorization (Optional)
    1. The Authorization tab allows a Bearer Token and an IP Allowlist be added if you would like to restrict who is able to send alerts to this integration. If you are unsure, this can be skipped.
  7. Once done, click Save.
  8. Copy the Integration Url that is issued for the integration. This will be used to set up the notification in Checkly.

In Checkly

  1. Go to Alert Settings. Go down to the Alert channels section and click on the Add more channels.

    Checkly Integration Step 1

  2. Go down to the Webhooks channel type and click the Add channel button next to it.

    Checkly Integration Step 2

  3. Name the webhook TaskCall , choose the POST method and paste the Integration Url you copied over from TaskCall in the URL section. Then paste the below JSON in the payload BODY section.

    {
       "check_name": "{{CHECK_NAME}}",
       "check_id": "{{CHECK_ID}}",
       "check_type": "{{CHECK_TYPE}}",
       "alert_title": "{{ALERT_TITLE}}",
       "alert_type": "{{ALERT_TYPE}}",
       "run_location": "{{RUN_LOCATION}}",
       "response_time": "{{RESPONSE_TIME}}",
       "result_link": "{{RESULT_LINK}}",
       "started_at": "{{STARTED_AT}}",
       "severity": "Medium",
       "tags": "{{TAGS}}"
    }


    Checkly Integration Step 3

    Note that the "severity" attribute is constant. You can change that if you need to control the uregncy in TaskCall. Available values are - Minor, Low, Medium, High, Critical.

  4. Choose when alerts should be sent to this webhook. You must select "Send when" a check fails and a check recovers to get the full capability of the TaskCall-Checkly integration.
  5. Click Save webhook.
  6. Done! Now you can add this to any check and get alerted in TaskCall when Checkly identifies issues.
On this page