Integrations
Datadog

Connect with Datadog

Complete these steps in the Datadog webhook integration page:

Go to the integration page: https://app.datadoghq.com/integrations/webhooks (opens in a new tab)

  1. Name the webhook "Small Hours"

  2. Set the following as the Webhook URL:

    https://<service_id>:<api_key>@api.smallhours.dev/v1/investigate
  3. Select 'Monitor' and leave the default payload.

Complete these steps in the Datadog monitor setup page:

Go to the monitor page: https://app.datadoghq.com/monitors/manage (opens in a new tab)

  1. Go to Monitors > New Monitor, or select an existing monitor. We recommend an Error Tracking or Log monitor.

  2. Tag the webhook you just created using '@webhook-WEBHOOK_NAME'

  3. Make sure the monitor message includes the log stack trace using {{log.message}}, {{log.attributes.error.message}}, or equivalent. The more information provided in the monitor, the more accurately Small Hours will debug the issue.