Skip to main content
1 vote
1 answer
155 views

I'm writing a Pingora proxy instance. It uses multiple async functions from a trait to indicate various stages. There is a common context that I can provide. I am trying to instrument the whole ...
Daniel A. White's user avatar
0 votes
1 answer
102 views

I am working with the tokio tracing/tracing_subscriber crates building an internal toolkit and have been running into issues trying to add an option to pass a custom formatter to the layer. Using the ...
Shovel_jockey's user avatar
0 votes
1 answer
129 views

i am trying to using tracing & tracing_subscriber with axum it's my code snippet main function: fn main() -> Result<(), io::Error> { let rt = runtime::Builder::new_current_thread() ...
Stop's user avatar
  • 13
2 votes
0 answers
255 views

I use Rust's tracing_subscriber library to configure different layers for different targets. Is it possible to customize (actually, pseudonymize) the output format of some fields within the existing ...
Shadok's user avatar
  • 194
1 vote
2 answers
412 views

I have weird symbols added to a log file, I guess its some prettification with ANSI for terminal output: 2024-10-23T00:00:19.268093Z TRACE process_token{^[[3mmint^[[0m^[[2m=^[[0m"...
Eugene's user avatar
  • 1,212
0 votes
1 answer
813 views

So, I'm learning axum and tracing crates by following Zero to Production in Rust book. I'm trying to add tracing to log span that will include a request id. When I enter span outside this match ...
Roman Avdeev's user avatar
1 vote
1 answer
362 views

I'm using rust's tracing and tracing_subscriber crates with .json() to enable JSON formatting of logs: tracing_subscriber::fmt() .json() .flatten_event(true) .finish() .init(); ...
extremeandy's user avatar
0 votes
0 answers
250 views

I have a Rust application I am instrumenting, and I would like to be able to set the log filtering level dynamically for a given span tree. Note that I don't want to change the log level for the whole ...
JoseCarlosVM's user avatar
3 votes
2 answers
2k views

I'm having trouble adding tracing to a particular function in my rust project. Here are the relevant files // chain/ethereum/src/ingestor.rs #[tracing::instrument(skip(self), name = "...
Paymahn Moghadasian's user avatar
0 votes
1 answer
392 views

I want to export spans using the OpenTelemetry Protocol from inside of a tonic service. My attempts to do this seemingly result in deadlock. I've created a minimal example here. Here's a summary: I ...
Alex Martin's user avatar
0 votes
1 answer
144 views

I use tracing and tracing-subscriber for logging. It uses colour codes, which works in windows terminal and the vscode terminal. However, the terminal that opens when double-clicking the built exe ...
TeamDman's user avatar
  • 1,045
2 votes
1 answer
1k views

I have a tracing subscriber like: let subscriber = tracing_subscriber::registry().with( tracing_subscriber::fmt::layer() .compact() .with_file(true) ....
danthegoodman's user avatar
1 vote
0 answers
296 views

Note - I have gone through Suppressing external library logs in a tokio tracing subscriber and How to turn off tracing events emitted by other crates?, and they don't answer this question. Context: I'...
LKB's user avatar
  • 189
1 vote
2 answers
1k views

I'm trying to filter out the PartitionEOF error log messages that the rdkafka crate produces when you have enable.partition.eof set to true. We're using the tracing and tracing-subscriber traits for ...
ESRogs's user avatar
  • 2,368
0 votes
1 answer
68 views

I would like to use the tracing library together with deamonize. Consider the following example use tracing::info; use tracing_subscriber::layer::SubscriberExt; use tracing_subscriber::{fmt, Registry};...
mfld's user avatar
  • 46

15 30 50 per page
1
2 3 4 5 6