dd-trace-py icon indicating copy to clipboard operation
dd-trace-py copied to clipboard

Add ability to set global tags in code (alternative to DD_TAGS)

Open idanya opened this issue 2 years ago • 1 comments

Currently, the only way to set global tags that will be attached to all spans is by using DD_TAGS environment variable (unless I'm missing something). This is an issue for use cases where the service tags are loaded on runtime.

Possible mitigation: Setting the config/tracer with the global tags at runtime

version used: dd-trace-py 2.1.1

idanya avatar Dec 07 '23 12:12 idanya

Thanks for noting this request, @idanya. We'll add it to our feature request backlog and it will be included in future prioritization passes.

emmettbutler avatar Dec 07 '23 17:12 emmettbutler

This issue has been automatically closed after a period of inactivity. If it's a feature request, it has been added to the maintainers' internal backlog and will be included in an upcoming round of feature prioritization. Please comment or reopen if you think this issue was closed in error.

github-actions[bot] avatar May 08 '24 00:05 github-actions[bot]

Is there an alternative available now? I sure would like to see this resurrected.

Eckhart-csjc avatar Jun 13 '24 18:06 Eckhart-csjc