With Datadog LLM Observability, you can investigate the root cause of issues, monitor operational performance, and evaluate the quality, privacy, and safety of your LLM applications.
In Datadog, go to Organization Settings > API Keys and create a new key.
Go to Settings > Observability and toggle Enable Broadcast.

Click the edit icon next to Datadog and enter:
https://api.us5.datadoghq.com. Change for other regions
Click Test Connection to verify the setup. The configuration only saves if the test passes.

Make an API request through OpenRouter and view the trace in Datadog.

Datadog LLM Observability supports tags and custom metadata for organizing and filtering your traces.
Datadog uses tags for filtering and grouping traces. The following are automatically added as tags:
service:{ml_app} - Your configured ML App nameuser_id:{user} - From the user field in your requestAny additional keys in trace are passed to the span’s meta object and can be viewed in Datadog’s trace details.
In Datadog LLM Observability, you can:
When Privacy Mode is enabled for this destination, prompt and completion content is excluded from traces. All other trace data — token usage, costs, timing, model information, and custom metadata — is still sent normally. See Privacy Mode for details.