Sending Data to Digma Using the Datadog agent
Set up Dual Shipping
If you're using the Datadog Agent (dd-agent) and not an OTEL agent/collector, you can forward traces to Digma using Datadog's dual shipping feature.
To use this feature, modify the agent's configuration to include Digma's DataDog receiver:
apm_config:
additional_endpoints:
"[REPLACE_WITH_DIGMAS_COLLECTOR_DATADOG_ENDPOINT]":
- datadog_reciver
Alternatively, you can add the following env variable:
DD_APM_ADDITIONAL_ENDPOINTS={"[REPLACE_WITH_DIGMAS_COLLECTOR_DATADOG_ENDPOINT]": ["datadog_receiver"]}
Add tags to specify the Digma environment
Digma will automatically copy data from the Datadog traces such as the git commit hash, if present. However, to ensure the data is classified correctly within Digma, you need to add two additional tags to your tracing data. This can be done using environment variables.
export DD_TAGS=digma.environment:$ENV_NAME,digma.environment.type:Public
Additionally, to use custom instrumentation or Digma auto instrumentation, you can include the following environment variable that will configure the DD agent to respect the OTEL instrumentation attributes:
export DD_TRACE_OTEL_ENABLED=true
Alternatively,
Last updated