-
Notifications
You must be signed in to change notification settings - Fork 354
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
provides support for TracingMetadata #824
Conversation
cc\ @adriancole your feedback is really appreciated (also see https://github.com/rsocket/rsocket/blob/master/Extensions/Tracing-Zipkin.md for more info) |
I'd suggest focusing on the outputs vs the inputs. Ex instead of describing features like isSamplingEnabled and isDebuggingEnabled (knowing there may be different sampling algos etc).. focus only on the resulting data that you'd take action on. isReported -> isSampled: https://github.com/openzipkin/brave/blob/master/brave/src/main/java/brave/propagation/SamplingFlags.java#L83 if you want to support debug you should also know the difference between this and sampled Not now, but just fyi, there's a third option which is that data is sampled, but it is not propagated in primary trace headers/frames. This is for recording everything for local processing such as metrics or secondary sampling isSampledLocal: Hope this helps! |
He's trying to implement the extension spec he mentioned. |
sorry missed that link.. I saw "Add Zipkin Tracing Flyweight" and had no idea what it meant. In that case, just retain comments about isSampled and isDebug and forget about isSampledLocal as that's not propagated. |
Alright, by looking more into all the stuff I tend to say that current RSocket spec is incorrect and misaligned with today's implementation of TraceContext that I found at brave. Fixing that first and then continue on this impl |
@adriancole do you have a few minutes to chat on the TraceContext topic and discuss all the flags that it has and their importance / behavior? |
ok find me here https://gitter.im/openzipkin/zipkin |
a5ae918
to
d68b542
Compare
4c97694
to
419c5d1
Compare
rsocket-core/src/main/java/io/rsocket/metadata/TracingMetadataCodec.java
Show resolved
Hide resolved
Signed-off-by: Oleh Dokuka <shadowgun@i.ua>
Signed-off-by: Oleh Dokuka <shadowgun@i.ua>
7b2438b
to
778d46a
Compare
closes #583
Signed-off-by: Oleh Dokuka shadowgun@i.ua