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
introduce tracing #181
introduce tracing #181
Conversation
thoroughly untested
I didn't notice if you set a subscriber. It may explain why you didn't see a change. A global default subscriber can be set using https://docs.rs/tracing/0.1.37/tracing/subscriber/fn.set_global_default.html |
the method i'm using sets a subscriber. what's happening is that on trace level I see the traces around the logs (yay) but a) the span entry has nothing interesting (fixable) and b) every crate is logging traces. my attempt to set an env filter didn't resolve this as I thought it might (trace only for auraed) so I need to tweak that further. |
it helps if you call the right thing.. |
example output:
|
note this disables the observability logging stuff until we can figure out the right solution.
big open question: should this setup that is currently in |
decided for myself :) |
thoroughly untested WIP
this should give us spans around the cells service and logging should be scoped to that but i'm not seeing any obvious output differences so i'm a bit stumped.
going to read around and see if i can figure out if i'm meant to be seeing anything new.