-
Notifications
You must be signed in to change notification settings - Fork 226
feat: Add experimental traceresponse propagator to Rack instrumentation #182
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
feat: Add experimental traceresponse propagator to Rack instrumentation #182
Conversation
plantfansam
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Seems like a great direction! Next up, tests 😄
instrumentation/rack/lib/opentelemetry/instrumentation/rack/instrumentation.rb
Outdated
Show resolved
Hide resolved
instrumentation/rack/lib/opentelemetry/instrumentation/rack/middlewares/tracer_middleware.rb
Outdated
Show resolved
Hide resolved
instrumentation/rack/opentelemetry-instrumentation-rack.gemspec
Outdated
Show resolved
Hide resolved
...mentation/rack/test/opentelemetry/instrumentation/rack/middlewares/tracer_middleware_test.rb
Show resolved
Hide resolved
Adds an optional config for the rack instrumentation to use the [new traceresponse propagator][1]. [1]: open-telemetry/opentelemetry-ruby#1397
0f2fca2 to
d95e96b
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looking good! I think we just need a small change to the language in one test ...
...mentation/rack/test/opentelemetry/instrumentation/rack/middlewares/tracer_middleware_test.rb
Outdated
Show resolved
Hide resolved
plantfansam
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM ✨
Adds an optional config for the rack instrumentation to use the new traceresponse propagator.