Skip to content

Conversation

@pglombardo
Copy link
Contributor

OpenTracing propagators are ignorant of what type of carrier we are
inserting into (HTTP Server, HTTP Client, RabbitMQ message carrier)
and that gives us no way to conditionally insert optional headers
such as Server-Timing.

The possible alternative to to create a unique propagator for every case
but that is a lot of duplicated code and unecessary for this one current
exception.

This PR breaks Server-Timing handling out from the HTTP propagagor and
inserts it manually when needed.

@pglombardo pglombardo merged commit 1c316a2 into master Apr 9, 2019
@pglombardo pglombardo deleted the manual-server-timing branch April 9, 2019 08:14
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.

2 participants