Kamon icon indicating copy to clipboard operation
Kamon copied to clipboard

DataDog Reporter to send EntityId from environment

Open juancarrey opened this issue 9 months ago • 0 comments

Hello,

We are using latest Kamon library to send our metrics to DataDog though DataDog Agent (DogStatsD)

Our infrastructure relies on Datadog Entity Id to add contextual tags for infrastructure details, and we see that Kamon library is not adding this tag by default to DataDog reporters

dd.internal.entity_id:$DD_ENTITY_ID tag.

Essentially, the official java dogstatsd client adds this tag by default:

https://github.com/DataDog/java-dogstatsd-client/blob/c18559c89e24bd2e407a2c23dfd3608a831a2977/src/main/java/com/timgroup/statsd/NonBlockingStatsDClient.java#L1243

It would be good to add this tag by default as well in Kamon Datadog Reporters.

Thank you

juancarrey avatar May 10 '24 08:05 juancarrey