docs/recipes/metrics-backends/datadog.mdx
<Tooltip tip="This page covers msb-metrics, which reads host-local shared memory and is local-only. It does not apply to microsandbox cloud sandboxes."><span className="msb-badge-local">Local-only <Icon icon="circle-info" size={11} /></span></Tooltip>
<Note> This recipe ships data emitted by [`msb-metrics`](/observability/msb-metrics). See the msb-metrics page for the flag reference, metric names, and deployment constraints. </Note>The recommended path is to point msb-metrics at the Datadog Agent
with OTLP ingestion enabled. The agent handles temporality conversion,
metric translation, and shipping to Datadog's backend.
```yaml
otlp_config:
receiver:
protocols:
grpc:
endpoint: 0.0.0.0:4317
http:
endpoint: 0.0.0.0:4318
```
Restart the agent.
Datadog also exposes a direct OTLP HTTP intake at
https://otlp.datadoghq.com/v1/metrics (region-specific) that avoids
the agent. It expects delta temporality for metrics, while
msb-metrics emits cumulative values, so direct intake needs a
temporality conversion step.
If you need direct intake, put an
otel-collector with the
cumulativetodelta processor between msb-metrics and Datadog.
Otherwise, stick with the agent path above, which converts temporality
for you.