tracing-bunyan-formatter
tracing-bunyan-formatter copied to clipboard
A Layer implementation for tokio-rs/tracing providing Bunyan formatting for events and spans.
I use axum and opentelemetry, currently I include the trace id in response header with [middleware's help](https://docs.rs/axum-tracing-opentelemetry/0.14.1/axum_tracing_opentelemetry/middleware/struct.OtelInResponseLayer.html). But how can I also include that trace id in the output of...
Awesome crate. The only thing that got me interested in it was the execution time, as well as a request id. But, turns out there's a more simpler solution if...
Attempt at fixing #33 by explicitly setting `parent: None` when calling `tracing::debug!()` in `BunyanFormattingLayer`. Also check whether the event is a "root" event before resolving the "current context" in `on_event()`....
I've encountered an infinite loop (leading to a stack overflow and crash) when the following criteria are met: 1. A span contains a field that conflicts with one of Bunyan's...
This is a tentative implementation for https://github.com/LukeMathWalker/tracing-bunyan-formatter/issues/18
Hi! Currently all fields from the parent span are added to the child span. This means you can get a lot of not so useful fields when running this with...
Quick question, is it possible to configure `BunyanFormattingLayer` to prevent logging certain fields to the console? My use case is as follows. I have a panic hook set up with...
This is a dupe of https://github.com/fastly/cli/issues/532#issuecomment-1032492496, but the fix lies in either this package or `gethostname` My Rust app uses v0.3.2 of `tracing-bunyan-formatter` and it fails to build for target...
This issue takes over from https://github.com/LukeMathWalker/tracing-actix-web/issues/1 When we define a tracing instrument that has fields also present in the `info_span!` used in [`tracing-actix-web`](https://github.com/LukeMathWalker/tracing-actix-web), the collision results in the `tracing-actix-web` fields...
This addresses: #12 PR Adds a `hostname` feature which activates `gethostname` dependency and gates it's usage. It adds a `#[derive(Default)]` to the `BunyanFormattingLayer` struct so that the default value ()...