Skip to content

Conversation

@wperron
Copy link
Contributor

@wperron wperron commented Nov 1, 2022

Adds a TextMapPropagator in the experimental SDK to inject traceresponse headers as defined in the Trace Context draft specification.

Here is a gist demonstrating the propagator, based off of the existing http server example from this repo.

@linux-foundation-easycla
Copy link

linux-foundation-easycla bot commented Nov 1, 2022

CLA Signed

The committers listed above are authorized under a signed CLA.

  • ✅ login: wperron / name: William Perron (84a7f25)

Copy link
Contributor

@plantfansam plantfansam left a comment

Choose a reason for hiding this comment

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

Looking good! I had a few questions/comments about the tests. I'd suggest adding a few test cases that push the edges: e.g. can we add assertions for what happens if span context is not valid?

Adds a TextMapPropagator in the experimental SDK to inject
`traceresponse` headers as defined in the [Trace Context][1] draft
specification.

[1]: https://w3c.github.io/trace-context/#traceresponse-header
@wperron wperron force-pushed the trace-response-propagator branch from 84a7f25 to bd6402f Compare November 2, 2022 19:06
@wperron wperron marked this pull request as ready for review November 2, 2022 19:07
@wperron wperron requested review from fbogsany and plantfansam and removed request for fbogsany and plantfansam November 2, 2022 19:07
Copy link
Contributor

@plantfansam plantfansam left a comment

Choose a reason for hiding this comment

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

LGTM!

@wperron wperron requested a review from fbogsany November 7, 2022 15:56
@robertlaurin robertlaurin merged commit 80f1909 into open-telemetry:main Nov 8, 2022
wperron added a commit to wperron/opentelemetry-ruby-contrib that referenced this pull request Nov 9, 2022
Adds an optional config for the rack instrumentation to use the [new
traceresponse propagator][1].

[1]: open-telemetry/opentelemetry-ruby#1397
wperron added a commit to wperron/opentelemetry-ruby-contrib that referenced this pull request Nov 14, 2022
Adds an optional config for the rack instrumentation to use the [new
traceresponse propagator][1].

[1]: open-telemetry/opentelemetry-ruby#1397
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants