Skip to content

Context Propagation Inject Method Debugging #1356

Discussion options

You must be logged in to vote

Quoting @arielvalentin and @ahayworth from the above thread as the answer:

Injecting headers should happen on outbound HTTP requests and responses. So you should only see inject being called in instrumentation for HTTP client libraries.
Your application will extract headers when it is the server. This happens in the Rack instrumentation.

This sounds like you're building something in Rails, and maybe you're expecting to see your custom headers returned when you inspect the web requests in the Chrome dev tools, or something. Like @arielvalentin said, that's not what context propagation injection is actually about.

Context propagation extract is called when a server receives a request. …

Replies: 2 comments 6 replies

Comment options

You must be logged in to vote
6 replies
@arielvalentin
Comment options

@paychex-ssmithrand
Comment options

@arielvalentin
Comment options

@ahayworth
Comment options

@paychex-ssmithrand
Comment options

Comment options

You must be logged in to vote
0 replies
Answer selected by paychex-ssmithrand
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
4 participants