File tree 1 file changed +3
-3
lines changed
lading/src/observer/linux
1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -6,7 +6,7 @@ use std::{collections::VecDeque, io};
6
6
use nix:: errno:: Errno ;
7
7
use procfs:: process:: Process ;
8
8
use rustc_hash:: FxHashSet ;
9
- use tracing:: { debug, error, info} ;
9
+ use tracing:: { debug, error, info, trace } ;
10
10
11
11
#[ derive( thiserror:: Error , Debug ) ]
12
12
/// Errors produced by functions in this module
@@ -91,7 +91,7 @@ impl Sampler {
91
91
}
92
92
}
93
93
94
- info ! ( "Found {count} child processes" , count = pids. len( ) ) ;
94
+ trace ! ( "Found {count} processes" , count = pids. len( ) ) ;
95
95
// Now iterate the pids and collect the unique names of the cgroups associated.
96
96
let mut cgroups = FxHashSet :: default ( ) ;
97
97
for pid in pids {
@@ -108,7 +108,7 @@ impl Sampler {
108
108
109
109
// Now iterate the cgroups and collect samples.
110
110
for cgroup_path in cgroups {
111
- info ! (
111
+ debug ! (
112
112
"Polling cgroup metrics for {path}" ,
113
113
path = cgroup_path. to_string_lossy( )
114
114
) ;
You can’t perform that action at this time.
0 commit comments