Blog Post

Catchpoint Is Integrated With Datadog

Published
March 9, 2016
#
 mins read
By 

in this blog post

There are lots of things that can go wrong in your IT infrastructure that can kill your web applications’ customer experience. That’s why it’s so important to be able to correlate your Catchpoint alerts with alerts and data from your other monitoring systems.

The faster you can discover why, for example, an alert that your application server has slowed to a crawl is related to an alert that your web page response times just spiked, the faster you can remediate the problem and restore your web application performance. We already support alert integrations with most of the alerting platforms on the market today (AlertOps, OpsGenie, PagerDuty, etc.), alert correlation and analysis platform Big Panda and communications platform Slack. Our latest alert integration is with monitoring platform vendor and our New York City neighbor Datadog.

Datadog is not your ordinary monitoring solution. In addition to their 120 integrations with many popular open source and commercial applications, they also collect metrics from SaaS and cloud platforms, automation tools, source control, bug tracking tools, databases; and even other monitoring and instrumentation systems like Catchpoint. When combined this offers a single view into all layers of your applications and infrastructure stack.

Through API integration, Datadog collects, integrates and correlates these metrics and presents them via dashboard interfaces in its portal. The more complex and dynamic your devops stack is, the more relevant Datadog’s technology and insights becomes for you.

Now, with the Catchpoint Alert Push API you can easily send custom alerts to Datadog

  • Configure comprehensive alerts in your event stream
  • Direct links to Analysis Charts in the Catchpoint Portal
  • Create Alert type tags for easy filtering

To get Catchpoint alerts into your Datadog event stream, login into the Catchpoint Portal and goto Settings > API.

DataDog
  1. In the Alerts API select Enable
  2. Enter the DataDog Endpoint URL. You will also need the DataDog API Key which can be created in the DataDog portal > Integrations > APIs e.g. https://app.datadoghq.com/api/v1/events?api_key=ad54778d0d8a55f184cbd33c73f81dff
  3. Set Status to Active
  4. Select Template for Format
  5. Add a new template
  6. Enter the template Nameg. DataDog and set the Format to JSON.
  7. Use the following JSON Template and Save

{

“title”: “${TestName} [${TestId}] – ${switch(${notificationLevelId},’0′,’WARNING’,’1′,’CRITICAL’,’3′,’OK’)}”,

“text”: “${TestName} – http://portal.catchpoint.com/ui/Content/Charts/Performance.aspx?tList=

${testId}&uts=${alertProcessingTimestampUtc}&z=&chartView=1”,

“priority”: “normal”,

“tags”: [“alertType:${Switch(${AlertTypeId},’0′, ‘Unknown’,’2′, ‘Byte Length’,’3′,

‘Content Match’,’4′, ‘Host Failure’,’7′, ‘Timing’,’9′, ‘Test Failure’, ’10’,

‘Insight’, ’11’,’Javascript Failure’, ’12’, ‘Ping’,13, ‘Requests’)}”],

“alert_type”: “${switch(${notificationLevelId},’0′,’warning’,’1′,’error’,’3′,’success’)}”,

“source_type_name”: “catchpoint”

}

8. Catchpoint will now send any alerts directly to the Events stream in DataDog.

There are lots of things that can go wrong in your IT infrastructure that can kill your web applications’ customer experience. That’s why it’s so important to be able to correlate your Catchpoint alerts with alerts and data from your other monitoring systems.

The faster you can discover why, for example, an alert that your application server has slowed to a crawl is related to an alert that your web page response times just spiked, the faster you can remediate the problem and restore your web application performance. We already support alert integrations with most of the alerting platforms on the market today (AlertOps, OpsGenie, PagerDuty, etc.), alert correlation and analysis platform Big Panda and communications platform Slack. Our latest alert integration is with monitoring platform vendor and our New York City neighbor Datadog.

Datadog is not your ordinary monitoring solution. In addition to their 120 integrations with many popular open source and commercial applications, they also collect metrics from SaaS and cloud platforms, automation tools, source control, bug tracking tools, databases; and even other monitoring and instrumentation systems like Catchpoint. When combined this offers a single view into all layers of your applications and infrastructure stack.

Through API integration, Datadog collects, integrates and correlates these metrics and presents them via dashboard interfaces in its portal. The more complex and dynamic your devops stack is, the more relevant Datadog’s technology and insights becomes for you.

Now, with the Catchpoint Alert Push API you can easily send custom alerts to Datadog

  • Configure comprehensive alerts in your event stream
  • Direct links to Analysis Charts in the Catchpoint Portal
  • Create Alert type tags for easy filtering

To get Catchpoint alerts into your Datadog event stream, login into the Catchpoint Portal and goto Settings > API.

DataDog
  1. In the Alerts API select Enable
  2. Enter the DataDog Endpoint URL. You will also need the DataDog API Key which can be created in the DataDog portal > Integrations > APIs e.g. https://app.datadoghq.com/api/v1/events?api_key=ad54778d0d8a55f184cbd33c73f81dff
  3. Set Status to Active
  4. Select Template for Format
  5. Add a new template
  6. Enter the template Nameg. DataDog and set the Format to JSON.
  7. Use the following JSON Template and Save

{

“title”: “${TestName} [${TestId}] – ${switch(${notificationLevelId},’0′,’WARNING’,’1′,’CRITICAL’,’3′,’OK’)}”,

“text”: “${TestName} – http://portal.catchpoint.com/ui/Content/Charts/Performance.aspx?tList=

${testId}&uts=${alertProcessingTimestampUtc}&z=&chartView=1”,

“priority”: “normal”,

“tags”: [“alertType:${Switch(${AlertTypeId},’0′, ‘Unknown’,’2′, ‘Byte Length’,’3′,

‘Content Match’,’4′, ‘Host Failure’,’7′, ‘Timing’,’9′, ‘Test Failure’, ’10’,

‘Insight’, ’11’,’Javascript Failure’, ’12’, ‘Ping’,13, ‘Requests’)}”],

“alert_type”: “${switch(${notificationLevelId},’0′,’warning’,’1′,’error’,’3′,’success’)}”,

“source_type_name”: “catchpoint”

}

8. Catchpoint will now send any alerts directly to the Events stream in DataDog.

This is some text inside of a div block.

You might also like

Blog post

Preparing for the unexpected: Lessons from the AJIO and Jio Outage

Blog post

Demystifying API Monitoring and Testing with IPM

Blog post

Use the Catchpoint Terraform Provider in your CI/CD workflows