tracing
tracing copied to clipboard
Application level tracing for Rust.
## Feature Request ### Crates `tracing` ### Motivation Currently all macros (e.g. `tracing::info!`) require upfront declaration of the fields you want to capture. They are populated either when the span...
```rust let auth = "hello"; let span = span!(Level::INFO, "", %auth); let _span = span.enter(); do_something(); /// fn do_something(){ let span = Span::current(); // How to get field "auth" value...
## Feature Request ### Crates tracing = "0.1.13" tracing-subscriber = "0.2.3" ### Motivation To use Tracing in web frontend in addition to web backend. ### Proposal Support the build targets...
## Feature Request ### Motivation I'm trying to write FFI wrapper methods around `tracing`, and the simplest API is to pass a slice of values across as `(values: *const *const...
## Motivation Using [reload::Layer](https://docs.rs/tracing-subscriber/latest/tracing_subscriber/reload/struct.Layer.html) with a Filtered layer makes it possible to activate different tracing levels for various modules dynamically. However, it's not currently possible to modify the currently span...
## Motivation Some tests were ignored with a TODO to enable them. The doc-test for Subscriber::record provides misleading code that does not compile. ## Solution I enabled the tests that...
## Motivation Docs were obsolete for the `instrument` macro. Closes #2895 ## Solution I've updated the docs and addeda a doctest example. This should also be cherry-picked onto `v0.1.x`
## Motivation Closes #1531 There are scenarios where one wants to add some information to logs emitted by `FmtSubscriber`, for example adding OpenTelemetry trace ID and span ID. ## Solution...
## Motivation Closes #2935 Builds on #2936 Parsing of filters checking for field values is broken when used with more than one field. There may be multiple directives split by...
## Motivation The timings measurements were done naively in a way where they added `busy` time in `on_exit` and `idle` time in `on_enter. This works only if the spans are...