Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[core] Add global tracer tags #702

Merged
merged 13 commits into from
Nov 14, 2018
Merged

[core] Add global tracer tags #702

merged 13 commits into from
Nov 14, 2018

Conversation

majorgreys
Copy link
Collaborator

We should offer an environment variable for global tags, for instance via DD_TRACE_TAGS.

@brettlangdon brettlangdon added this to the 0.17.0 milestone Nov 9, 2018
Copy link
Member

@brettlangdon brettlangdon left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

small suggestion, but otherwise looks good to me.

Would like to get @Kyle-Verhoog's review on here as well.

ddtrace/bootstrap/sitecustomize.py Outdated Show resolved Hide resolved
ddtrace/bootstrap/sitecustomize.py Outdated Show resolved Hide resolved
Copy link
Member

@Kyle-Verhoog Kyle-Verhoog left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Logic looks good. Just a few smaller things.

ddtrace/bootstrap/sitecustomize.py Outdated Show resolved Hide resolved
ddtrace/bootstrap/sitecustomize.py Outdated Show resolved Hide resolved
ddtrace/bootstrap/sitecustomize.py Outdated Show resolved Hide resolved
tests/commands/ddtrace_run_global_tags.py Outdated Show resolved Hide resolved
ddtrace/bootstrap/sitecustomize.py Show resolved Hide resolved
@majorgreys majorgreys self-assigned this Nov 12, 2018
@majorgreys majorgreys changed the base branch from master to 0.17-dev November 13, 2018 16:29
@majorgreys majorgreys merged commit 0230d5d into 0.17-dev Nov 14, 2018
@majorgreys majorgreys deleted the tahir/global.tags branch November 14, 2018 15:07
Kyle-Verhoog pushed a commit that referenced this pull request Nov 23, 2018
* Initial attempt at global tags

* Use patch module list approach for global trace tags

* Add sdist flag to testrunner start

* remove environment variable

* [ddtracerun] Fix tests for global tags

* Remove type casting for global tags

* Use partition and fix test

* Rename to `DD_TRACE_GLOBAL_TAGS`

* Prefer single quotes
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants