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

Provide trace context tracking in google-cloud-core #1098

Closed
wants to merge 1 commit into from

Conversation

dazuma
Copy link
Member

@dazuma dazuma commented Dec 2, 2016

We move TraceContext tracking into google-cloud-core. (Currently this functionality is partially implemented in google-cloud-logging.) I want to centralize it because the Trace instrumentation work requires that multiple services (currently trace and logging, but likely to include the other Stackdriver services in the future) be able to cooperate in managing this context data.

This introduces an object for TraceContext. It also introduces a common algorithm for obtaining and memoizing TraceContext in the Rack environment so that different services will see a consistent state for the same request.

I bumped the google-cloud-core version to 0.22 because when I modify google-cloud-logging and google-cloud-trace to use this mechanism, they will be dependent on this change and thus require a new minor release of those gems. I intend to release google-cloud-core 0.22.0 first, and then later when I've made downstream dependent changes to other gems I'll bump their versions.

@googlebot googlebot added the cla: yes This human has signed the Contributor License Agreement. label Dec 2, 2016
@dazuma dazuma closed this Dec 2, 2016
@dazuma
Copy link
Member Author

dazuma commented Dec 2, 2016

Will create a separate gem for this, per offline conversation with @blowmage

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
cla: yes This human has signed the Contributor License Agreement.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants