-
Notifications
You must be signed in to change notification settings - Fork 765
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
Support for Jaeger Propagator #1881
Comments
Having the same needs, I have done a quick and dirty extractor https://gist.github.com/cortex93/a910534ba8bd095428102a30d0ba4eb9 Injecting in TraceContext format should be compatible with legacy Jaeger client. Thus, I don't add an inject implementation. In you startup code, Sdk.SetDefaultTextMapPropagator(new CompositeTextMapPropagator(new TextMapPropagator[]
{
new TraceContextPropagator(),
new JaegerPropagator()
})); curl -H "uber-trace-id: 80f198ee56343ba864fe8b2a57d3eff7:e457b5a2e4d86bd1:05e3ac9a4f6e3b90:1" localhost:5000 with consoleexporter, it will print out
Waiting for a proper implementation and a way to support baggage header. |
Hello! Same here. Using Linkerd assumes we are using B3 headers propagation among services. How to implement this? Thanks in advance. |
i'll be working on adding a jaeger propagator. @cijothomas , can you assign this to me?? thanks!! |
done. It must be a new package from this repo. (The fact b3 is part of the API package is a bug). |
@cijothomas could you maybe clarify what you mean by that? Would the other C# repository https://github.com/open-telemetry/opentelemetry-dotnet-contrib be appropriate for it? Looking at https://github.com/Progressive-Insurance/opentelemetry-dotnet/pull/1/files changes it should be possible, or am i wrong? Thanks. |
uh oh, i missed that comment @cijothomas . darn. been fighting with my company on the CLA stuff and just got is squared away and now it will have to be a new repo?? thanks for bringing this to attention @dmpe . |
Looking at the link from the OP, this seems a bit up for interpretation:
@cijothomas , are you saying that only W3C should be native to the dotnet SDK and B3/Jaeger are classified as |
Yes. A new package. |
@cijothomas , well that's a bummer. Okay, so if it has to go in the contrib repo does this issue need to move over there also or do I just open a feature request over there?? |
@notcool11 A new package, (like OpenTelemetry.Propagator.Jaeger), but it can be in this repo. No need to move to -contrib repo. |
@cijothomas , can you point me to some documentation on getting that set up?? Or is it as simple as just creating a new project in the solution and there is some voodoo magic that automatically does the packaging?? thanks. |
yes. packaging is done with MinVer tool. we can decide the versioning later, when we are ready for the 1st release. |
@cijothomas , ran into the first snag. Created the new project but there are several items in the Okay to add my new project to the internals visible to?? Specifically I was using |
To unblock, and temporarily, yes use InternalsVisible. After the initial round of PRs, you can modify to use own eventsource, and remove the internalsvisible. |
@cijothomas , looks like other projects have handled it by cherry picking specific files out of the internal folder.
Is that preferred?? |
@notcool11 I have recently started to move B3 propagators to the new package I am not sure if you saw it; just wanted to let you know that package is already there :) and could be used. 👍 |
hahaha, change it again!! thanks for the heads up @dmpe. @cijothomas, what would you like to do?? i just refreshed my fork from main and got the new |
@cijothomas, looks like #3271 got merged in and the zipkin propagator is in it. I'm gonna change again and add the Jaeger one there. @dmpe , might reach out to you if i have any issues. thanks. |
Feature Request
The OpenTelemetry specification suggests that a propagator for Jaeger MUST be implemented alongside the B3 (Zipkin) and W3C Trace Context.
I cannot seem to find any traces of such a Propagator being implemented and it would be great if it was :) Some third party applications like Nginx, used in many proxies rely on this format and valuable trace information can be lost in that step.
Is your feature request related to a problem?
Some application, typically third party, rely on "older" Opentracing implementation using Jaeger tracing context and this information is not being tied together with the current implementation of the dotnet library.
Describe the solution you'd like:
Adding a propagator that implements, understands and propagate the Jaeger (uber header) format.
If this has been implemented and I cannot find it, I apologies, I just cannot seem to find any information about it.
Thanks
Kristoffer
The text was updated successfully, but these errors were encountered: