Set up Tracing on a Buildkite Pipeline

Set up Tracing on a Buildkite Pipeline

Configure the Datadog integration

The Datadog integration for Buildkite works by using webhooks to send pipeline data to Datadog.

  1. Go to Settings > Notification Services in Buildkite and add a new webhook:
    • Webhook URL: https://webhook-intake.datadoghq.com/api/v2/webhook/?dd-api-key=<API_KEY> where <API_KEY> is your Datadog API key.
    • Events: Select job.finished and build.finished.
    • Pipelines: Select all pipelines or the subset of pipelines you want to trace.

  1. Go to Settings > Notification Services in Buildkite and add a new webhook:
    • Webhook URL: https://webhook-intake.datadoghq.eu/api/v2/webhook/?dd-api-key=<API_KEY> where <API_KEY> is your Datadog API key.
    • Events: Select job.finished and build.finished.
    • Pipelines: Select all pipelines or the subset of pipelines you want to trace.

  1. Go to Settings > Notification Services in Buildkite and add a new webhook:
  • Webhook URL: https://webhook-intake.us3.datadoghq.com/api/v2/webhook/?dd-api-key=<API_KEY> where <API_KEY> is your Datadog API key.
  • Events: Select job.finished and build.finished.
  • Pipelines: Select all pipelines or the subset of pipelines you want to trace.

  1. Click Add Webhook Notification to save the new webhook.

Visualize pipeline data in Datadog

The Pipelines and Pipeline Executions pages populate with data after the pipelines finish.

The Pipelines and Pipeline Executions pages populate with data after the pipelines finish.

The Pipelines and Pipeline Executions pages populate with data after the pipelines finish.

Note: The Pipelines page shows data for only the default branch of each repository.

Further reading

This feature is not supported for the selected Datadog site ().