Docs
Launch GraphOS Studio

Datadog exporter (via OTLP)

Configure the Datadog exporter for metrics


Enable and configure the OTLP exporter for metrics in the for use with Datadog.

For general tracing configuration, refer to Router Metrics Configuration.

Datadog configuration

To export metrics to Datadog, you must both:

  • Configure the Datadog agent to accept OpenTelemetry Protocol (OTLP) metrics, and
  • Configure the to send traces to the Datadog agent.

Datadog agent configuration

To configure the Datadog agent, add OTLP configuration (otlp_config) to your datadog.yaml. For example:

datadog.yaml
otlp_config:
receiver:
protocols:
grpc:
endpoint: <dd-agent-ip>:4317

Router configuration

To configure the router, enable the OTLP exporter and set both temporality: delta and endpoint: <datadog-agent-endpoint>. For example:

router.yaml
telemetry:
exporters:
metrics:
otlp:
enabled: true
# Temporality MUST be set to delta. Failure to do this will result in incorrect metrics.
temporality: delta
# Optional endpoint, either 'default' or a URL (Defaults to http://127.0.0.1:4317)
endpoint: "${env.DATADOG_AGENT_HOST}:4317"

NOTE

You must set temporality: delta, otherwise the router generates incorrect metrics.

For more details about Datadog configuration, see Datadog's docs on Agent configuration.

Previous
Configuration
Next
New Relic
Edit on GitHubEditForumsDiscord

© 2024 Apollo Graph Inc.

Privacy Policy

Company