-
Notifications
You must be signed in to change notification settings - Fork 722
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: extra fields #2664
feat: extra fields #2664
Conversation
Few notes:
|
Thanks, @davidbarsky, for the quick review!
Sure, will do. My motivation was to get a demo up and running with the PR, and this demo has dependencies which are not avaliable for master0.2.
I agree with you wrt the dependency (we do not need it) and that I should revert to what the original ticket was asking for, i.e. .with_extra_fields. That's equally easy to use for someone who wants to add the trace ID, but more general, i.e. also supports other use cases and does not pull in the otel dependency.
Stay tuned for updates. |
f365fdd
to
c163e9d
Compare
c163e9d
to
a64204c
Compare
@davidbarsky, I think I have addressed all of the above. If you are interested in using this new feature, check out https://github.com/hseeberger/hello-tracing-rs/blob/main/hello-tracing-backend/src/main.rs#L70. |
@davidbarsky, I know I haven't yet pointed this PR against master, because I wanted to have a working demo with this PR. I am pretty happy with how it is working. Please let me know if you consider this feature for worth merging and I can point the PR against master. |
Hey @davidbarsky and @hawkw, I know you are busy, but nevertheless I'd really love to get a thumbs up (or down) to pointing this PR against master. Hoping to hear from you ... |
@davidbarsky, OK, I have targeted these changes against the latest master in #2733, hence closing this one now. |
Ref #1531.
Currently the trace ID, added to Format, is only serialized for Json.