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

No way to change HttpTextFormat #718

Closed
Oberon00 opened this issue Dec 19, 2019 · 2 comments
Closed

No way to change HttpTextFormat #718

Oberon00 opened this issue Dec 19, 2019 · 2 comments

Comments

@Oberon00
Copy link
Member

Oberon00 commented Dec 19, 2019

There is no way to change the HttpTextFormat in the TracerSdk.

private static final HttpTextFormat<SpanContext> HTTP_TEXT_FORMAT = new HttpTraceContext();

I know this will probably be reworked with #655 or open-telemetry/oteps#66 but honestly, these look like mid- to long-term projects. So in the meantime it would be great to have a setter for the HttpTextFormat (and probably the BinaryFormat).

@carlosalberto
Copy link
Contributor

Now that OTEP 66 has been merged, I'd expect the related changes to land relatively soon :)

@carlosalberto
Copy link
Contributor

This can now be set through OpenTelemetry.setPropagators() ;)

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 a pull request may close this issue.

3 participants