Skip to content

chiarag/dd-rails-baggage-poc

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Attempting to Use DataDog for Custom Baggage/Tags

As an alternative to OpenTelemetry, DataDog has some of the same features in its SDK including the concept of "baggage" which is most recently calls "tags."

In these two services I attempted to get distributed baggage to work like in my other example with OpenTelemetry. Unfortunately, it seems the current support of distributed custom tags with Data Dog's Ruby gem does not support it. It propagates the default tags into headers, but not the custom tags. You can set and retrieve tags locally, but ddtrace does not put the custom tags into the x-datadog-tags header.

You can test this by running the examples locally (dice-dd expects the multiply service to be running on 5010 but obviously you can change that in the code to whatever you want).

The alternative to the above is using OpenTelemetry or self-management (i.e. "roll your own") custom headers.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published