Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
editoast: make 'AxumOtelLayer' act as 'INFO' level
By default, the 'AxumOtelLayer' only creates span at 'TRACE' level. That means that if you try `tracing::Span::current()` in a handler, you will get a `Span::none()` in response. This span is useless (it doesn't have a subscriber, no metadata): it can't be used with OpenTelemetry since all interactions between 'tracing' and 'opentelemetry' happens through `Span::with_subscriber()`. Signed-off-by: Jean SIMARD <[email protected]>
- Loading branch information