Set up Tracing on a CircleCI Workflow

Set up Tracing on a CircleCI Workflow

Configure the Datadog integration

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

  1. For each project, go to Project Settings > Webhooks in CircleCI 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.
    • Name: Datadog CI Visibility or any other identifier name that you want to provide.
    • Events: Select Workflow Completed and Job Completed.
    • Certificate verifications: Enable this check.

  1. For each project, go to Project Settings > Webhooks in CircleCI 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.
    • Name: Datadog CI Visibility or any other identifier name that you want to provide.
    • Events: Select Workflow Completed and Job Completed.
    • Certificate verifications: Enable this check.

  1. For each project, go to Project Settings > Webhooks in CircleCI 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.
  • Name: Datadog CI Visibility or any other identifier name that you want to provide.
  • Events: Select Workflow Completed and Job Completed.
  • Certificate verifications: Enable this check.

  1. Click Add Webhook to save the new webhook.

Visualize pipeline data in Datadog

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

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

The Pipelines and Pipeline Executions pages populate with data after the workflows 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 ().