Set up Tracing on a CircleCI Workflow
CI Visibility is not available in the selected site () at this time.
Configure the Datadog integration
The Datadog integration for CircleCI works by using webhooks to send data to Datadog.
For each project, go to Project Settings > Webhooks in CircleCI and add a new webhook:
- Webhook URL:
<API_KEY> is your Datadog API key.
Datadog CI Visibility or any other identifier name that you want to provide.
- Events: Select
Workflow Completed and
- Certificate verifications: Enable this check.
Click Add Webhook to save the new webhook.
To set custom tags to all the pipeline and job spans generated by the integration, add to the Webhook URL a URL-encoded query parameter
key:value pairs separated by commas. If a key:value pair contains any commas, surround it with quotes. For example, to add
key1:value1,"key2: value with , comma",key3:value3, the following string would need to be appended to the Webhook URL:
Visualize pipeline data in Datadog
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.