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

Propagate sampling_priority #245

Merged
merged 3 commits into from
Nov 14, 2017
Merged

Conversation

p-lambert
Copy link
Member

No description provided.

@p-lambert p-lambert added core Involves Datadog core libraries do-not-merge/WIP Not ready for merge labels Nov 3, 2017
@@ -5,6 +5,8 @@ module DistributedTracing
# These are cross-language (eg: Python, Go and other implementations should honor these)
HTTP_HEADER_TRACE_ID = 'x-datadog-trace-id'.freeze
HTTP_HEADER_PARENT_ID = 'x-datadog-parent-id'.freeze
HTTP_HEADER_SAMPLING_PRIORITY = 'x-datadog-sampling-priority'.freeze
SAMPLING_PRIORITY_RANGE = 0...2
Copy link
Member

Choose a reason for hiding this comment

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

Not sure we want to be that restrictive, we already have some use cases with sampling_priority == 2 so this should at least be 0..2 and I suspect we want to just support any zero or positive number.

@ufoot ufoot merged commit 57f18fa into master Nov 14, 2017
@palazzem palazzem deleted the pedro/sampling_priority_propagation branch November 29, 2017 09:16
@palazzem palazzem removed the do-not-merge/WIP Not ready for merge label Nov 29, 2017
@palazzem palazzem added this to the 0.10.0 milestone Nov 29, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
core Involves Datadog core libraries
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants