For AI agents: A markdown version of this page is available at https://docs.datadoghq.com/observability_pipelines/destinations/datadog_metrics.md.
A documentation index is available at /llms.txt.
Use Observability Pipelines’ Datadog Metrics destination (PREVIEW indicates an early access version of a major product or feature that you can opt into before its official release.Glossary) to send metrics to Datadog. You can also use AWS PrivateLink to send metrics from Observability Pipelines to Datadog.
Setup
Configure the Datadog Metrics destination when you set up a pipeline. You can set up a pipeline in the UI, using the API, or with Terraform. The steps in this section are configured in the UI.
Optional buffering
After you select the Datadog Metrics destination in the pipeline UI, you can configure buffering.
Toggle the switch to enable Buffering Options. Enable a configurable buffer on your destination to ensure intermittent latency or an outage at the destination doesn’t create immediate backpressure, and allow events to continue to be ingested from your source. Disk buffers can also increase pipeline durability by writing data to disk, ensuring buffered data persists through a Worker restart. See Destination buffers for more information.
If left unconfigured, your destination uses a memory buffer with a capacity of 500 events.
To configure a buffer on your destination:
Select the buffer type you want to set (Memory or Disk).
Enter the buffer size and select the unit.
Maximum memory buffer size is 128 GB.
Maximum disk buffer size is 500 GB.
In the Behavior on full buffer dropdown menu, select whether you want to block events or drop new events when the buffer is full.
Secret defaults
These are the defaults used for secret identifiers and environment variables.
Note: If you enter secret identifiers and then choose to use environment variables, the environment variable is the identifier entered and prepended with DD_OP. For example, if you entered PASSWORD_1 for a password identifier, the environment variable for that password is DD_OP_PASSWORD_1.
There are no secret identifiers for this destination.
No environment variables required.
How the destination works
A batch of events is flushed when one of these parameters is met. See event batching for more information.
Maximum Events
Maximum Size (MB)
Timeout (seconds)
100,000
None
2
AWS PrivateLink
To send metrics from Observability Pipelines to Datadog using AWS PrivateLink, see Connect to Datadog over AWS PrivateLink for setup instructions. The two endpoints you need to set up are:
Metrics:
Remote Configuration:
Note: The obpipeline-intake.datadoghq.com endpoint is used for Live Capture and is not available as a PrivateLink endpoint.
1
2
rulesets:- %!s(<nil>) # Rules to enforce .
Request a personalized demo
Get Started with Datadog
Ask AI
AI-generated responses may be inaccurate. Verify important info.