StatusPal
StatusPal.ioBlog
Documentation
Documentation
  • Introduction
  • Get Started
    • Key concepts
    • Step 1 - Configure services
    • Step 2 - Add your team
    • Step 3 - Personalize design
    • Step 4 - Enable notifications
    • Step 5 - Report an incident
  • Next Steps
  • FAQ
  • 1-Click Import
    • Atlassian Statuspage Importer
    • Status.io Importer (beta)
  • Platform
    • Services/components
      • Dependencies
    • Subscriptions & Notifications
      • Subscriptions
      • Notifications
      • Auto-maintenance notifications
      • Subscription Groups
      • Import email subscribers
      • Auto-subscribe to private status page
      • Custom email templates
        • Template examples
    • Incidents & Maintenance
      • Reporting an Incident
      • The Uptime Calendar Page
      • Custom Incident Types
      • Exporting your incidents
    • Information Notices
    • Private Status Page
      • Adding people to your status page
      • Access Groups/Audience Specific
    • Team Members
    • Status Page Settings & Design
      • Custom Domain
      • Advanced Settings
      • Design Customization
        • Design recipes
    • Multi-Language
    • Status Badge & Banner Widget
    • Integrations
      • Terraform
      • Datadog Metrics
      • Zoom Notifications
      • Google Analytics
      • Google Calendar
      • SendGrid Email Notifications
      • PagerDuty + Statuspal status page
      • Configure SSO for your status page with Okta
      • Configure SSO for your status page with Auth0
      • Configure your Mailgun Integration
      • Configure SMS Notifications (Twilio Integration)
      • Zabbix
      • Pingdom
      • Checkly
      • New Relic
      • Datadog
      • BetterUptime
  • Monitoring & automation
    • Out-of-the-box monitoring
    • Incident automation
    • Recurring maintenance
  • Security
    • Single Sign-On
      • Save your Recovery Codes
      • Configure Role provisioning from SAML attributes
      • Configure role provisioning for Okta
    • API Keys
Powered by GitBook
On this page
  • Create your Webhook Integration in StatusPal
  • Create your Webhook Integration in Datadog
  • Create your Synthetic Monitor Test in Datadog
  1. Platform
  2. Integrations

Datadog

This guide outlines the steps to integrate StatusPal's monitoring service with Datadog's synthetic checks. This integration allows you to receive alerts in StatusPal via webhook

PreviousNew RelicNextBetterUptime

Last updated 2 months ago

To automate the reporting and closing of incidents on your status page based on the status reported by Datadog synthetic checks, follow these steps.

Create your Webhook Integration in StatusPal

First, you need to create an endpoint URL within StatusPal. This URL will act as the bridge between Datadog and StatusPal, receiving notifications from Datadog about uptime check results via webhook.

  • Navigate to Services: On your Status Page, create a new service or edit an existing service.

  • Add Webhook: On Monitoring and incident automation section, check on Webhook and select Datadog.

  • Finish and Save: Create or update the service, then copy the endpoint URL that will be created for you.

Create your Webhook Integration in Datadog

Next, you need to create a webhook integration.

  • Navigate to Integrations: On the Datadog navigation bar, click on Integrations.

  • Add a Webhook: Search for Webhook integration and click on it.

  • Configure Webhook: On the Webhooks section, click on + New. You'll need to add the endpoint URL provided by StatusPal. This URL is specific to your StatusPal service configuration and is essential for the integration to work correctly. Paste this URL into the appropriate field.

  • Payload Configuration: On the notification message, you can configure the payload that will be send to StatusPal. You'll need to add one more property to the default template. If you need to configure it because you will use this weebhook somewhere else, you must keep the property we requiere on the json object: "alert_type": "$ALERT_TYPE",

{
    "alert_type": "$ALERT_TYPE",
    "id": "$ID",
    "last_updated": "$LAST_UPDATED",
    "event_type": "$EVENT_TYPE",
    "title": "$EVENT_TITLE",
    "date": "$DATE",
    "org": {
        "id": "$ORG_ID",
        "name": "$ORG_NAME"
    },
    "body": "$EVENT_MSG"
}

Create your Synthetic Monitor Test in Datadog

Next, you need to configure your synthetic monitor in Datadog and link it to the webhook you just created.

  • Navigate to Synthetics: On the Datadog navigation bar, click on Digital Experience.

  • Create Uptime Monitor Test: Click on New Test and create a new monitor for the synthetic you want to track using the API Test template. Configure the monitor according to your needs (e.g., check frequency, target URL).

  • Add Webhook: On the settings configuration, add @webhook-your-webhook-name in the body of the message. (e.g., in the image below, my webhook's name is webhook-test)

That's it! Once you have completed these steps, Datadog will send notifications about your uptime checks to StatusPal, allowing you to monitor and manage your service availability from a centralized platform.