mirror of
https://github.com/rustfs/rustfs.git
synced 2026-08-11 07:36:53 +00:00
improve code for observability
This commit is contained in:
@@ -258,7 +258,7 @@ pub fn init_telemetry(config: &OtelConfig) -> OtelGuard {
|
||||
}
|
||||
_ => {
|
||||
let mut filter = EnvFilter::new(logger_level);
|
||||
for directive in ["hyper", "opentelemetry", "tonic", "h2", "reqwest"] {
|
||||
for directive in ["hyper", "tonic", "h2", "reqwest"] {
|
||||
filter = filter.add_directive(format!("{}=off", directive).parse().unwrap());
|
||||
}
|
||||
filter
|
||||
|
||||
Reference in New Issue
Block a user