Page cover

Datadog Agent(s) to OTel

The Omlet Datadog-to-OTel service can receive metrics, logs and traces from Datadog Agents

Omlet Datadog-to-OTel Service

Container

Pull psharma1989/datadog-to-otel:latest

Set environment variables:

DD_API_KEY="${DATADOG_API_KEY}"
OMLET_INTAKE="${OMLET_INTAKE}"
OMLET_INTAKE_API_KEY="${OMLET_INTAKE_API_KEY}"
DD_SITE="datadoghq.com"

Datadog Agent Config

Variables:

DD_OMLET_INTAKE="${OMLET_INTAKE/intake/ddintake}"
DD_OMLET_INTAKE_HOST="${DD_OMLET_INTAKE#https://}"

Dual Shipping

Set "additional endpoints" for metrics logs and traces:

Note: ${DD_OMLET_INTAKE_HOST} is ${DD_OMLET_INTAKE} without protocol (https://)

Lambda Extension vs Datadog Agent

Due to "additional endpoints" configurations not being supported in the new Datadog Lambda Extension (https://github.com/DataDog/datadog-lambda-extension/issues/493), the legacy extension must be used. In your lambda environment, set: DD_EXTENSION_VERSION=compatibility

Proxy

Host Tags

To retain host tags, configure the Datadog Agent YAML:

Bare-Metal

Set expected_tags_duration . Example with very long duration.

Kubernetes (Helm)

Set expected_tags_duration . Example with very long duration.

Kubernetes Example:

The example below highlights deploying this service as a K8s deployment:

You can set this up behind a load balancer for security and scale.

Last updated