Book a demo
Talk to sales
What the Datadog integration covers
How it works
Find your Datadog site
app.datadoghq.eu is the EU1 site, datadoghq.eu.Forward traces
Give agents Datadog tools
Why Datadog access needs governing in Guild
A Datadog application key carries the permissions of the user who created it. Guild’s credential proxy holds both keys server-side and injects them per request, so they never reach agent code, prompts, or containers. The agent tools are read-only: none of them change monitors, dashboards, or data in Datadog. Credential policies let you narrow access further. Write ALLOW and DENY rules by operation name, agent, or workspace, for example to let an alert-triage agent read monitors but not search logs. You can scope the credential itself to the whole account, a single workspace, a specific member, or one installed agent, as described in Credentials.Forward traces to Datadog
Trace forwarding sends the OpenTelemetry traces and metrics from your agents’ runs to Datadog. It’s an account setting. In an organization, only admins can change it.Set up
You need your Datadog site and a Datadog API key. Create an API key in Datadog under Organization Settings > API Keys. Forwarding doesn’t use an application key.Choose the account
Open Observability
Choose Datadog
Choose your site
Enter your API key
Save
https://otlp.{site}/v1/traces and metrics to https://otlp.{site}/v1/metrics, with your API key in the dd-api-key header. It also asks Datadog to compute APM trace metrics, such as request counts and latency, from the spans.
What you see in Datadog
Guild forwards only the spans and metrics from sessions in workspaces your account owns. Spans follow the OpenTelemetry GenAI semantic conventions, and each one carries Guild attributes you can filter and group on in Datadog:https://app.guild.ai/sessions/{guild.session}.
Operate it
- Rotate the API key. Create a new key in Datadog. In Guild, click Edit, paste the new key, and click Save. Then revoke the old key in Datadog.
- Move to another site. Click Edit, select the new site, paste an API key from that site, and click Save.
- Switch providers. An account forwards to one provider at a time. Choosing Splunk under Edit replaces the Datadog settings.
- Stop forwarding. Click Delete, then confirm. Deleting can’t be undone: to start again, enter the site and API key again.
Give agents Datadog tools
The agent tools read Datadog monitors, metrics, logs, and events. The integration isguildai~datadog.
Authentication
- Type: API key
- Keys: an API key, sent in the
DD-API-KEYheader, and an application key, sent in theDD-APPLICATION-KEYheader - Site: requests go to
https://api.{site}, using the site you enter when you connect
Set up
Create the keys
Connect Datadog
Enter the keys and site
Site values
Enter the site as a hostname, withouthttps:// or app.:
datadoghq.com, datadoghq.eu, or ddog-gov.com, so a custom Datadog site works too.
Usage
Tools
Troubleshooting
Observability isn't in Access & setup
Observability isn't in Access & setup
No traces arrive in Datadog
No traces arrive in Datadog
- The site matches the API key. A key from one Datadog site doesn’t work on another. Under Observability, confirm the site is the one in your Datadog sign-in URL.
- The API key is valid. In Datadog, open Organization Settings > API Keys and confirm the key exists and isn’t revoked. Guild doesn’t test the key when you save, so a wrong key fails silently.
- The sessions belong to this account. Guild forwards only sessions in workspaces the configured account owns. Sessions in another organization’s workspaces go to that organization’s provider.
- The settings have applied. After a save, Guild restarts its trace collector. Run a new session after a few minutes and look for its spans by
guild.session.
My Datadog site isn't in the Site list
My Datadog site isn't in the Site list
Connecting the credential fails with Invalid Datadog site
Connecting the credential fails with Invalid Datadog site
datadoghq.com, datadoghq.eu, or ddog-gov.com. Remove any https://, app. prefix, or path. For example, enter datadoghq.eu, not https://app.datadoghq.eu.Agent tool calls return 403 Forbidden
Agent tool calls return 403 Forbidden
Agent tool calls return 401 or the wrong data
Agent tool calls return 401 or the wrong data
Frequently asked questions
Do I need the agent tools to send traces to Datadog?
Do I need the agent tools to send traces to Datadog?
Can a Guild agent change monitors or dashboards in Datadog?
Can a Guild agent change monitors or dashboards in Datadog?
Can I send traces to Datadog and Splunk at the same time?
Can I send traces to Datadog and Splunk at the same time?
Can a Datadog alert trigger a Guild agent?
Can a Datadog alert trigger a Guild agent?