Skip to content

Commit c400b68

Browse files
dopplewaregitbook-bot
authored andcommitted
GITBOOK-154: No subject
1 parent 5053655 commit c400b68

1 file changed

Lines changed: 8 additions & 0 deletions

File tree

instrumentation/sending-data-to-digma-using-the-datadog-agent.md

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,15 @@ DD_APM_ADDITIONAL_ENDPOINTS={"[REPLACE_WITH_DIGMAS_COLLECTOR_DATADOG_ENDPOINT]":
2323
2424
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. 
2525
26+
```bash
27+
export DD_TAGS=digma.environment:$ENV_NAME,digma.environment.type:Public
28+
```
29+
30+
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:
2631

32+
```bash
33+
export DD_TRACE_OTEL_ENABLED=true
34+
```
2735

2836

2937

0 commit comments

Comments
 (0)