Skip to content

Commit

Permalink
cargo fmt
Browse files Browse the repository at this point in the history
Signed-off-by: Alin Sinpalean <alin.sinpalean@gmail.com>
  • Loading branch information
free committed Aug 6, 2021
1 parent ec428c4 commit 268c6f7
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/process_collector.rs
Expand Up @@ -102,7 +102,8 @@ impl ProcessCollector {
descs.extend(start_time.desc().into_iter().cloned());

let threads = Gauge::with_opts(
Opts::new("process_threads", "Number of OS threads in the process.").namespace(namespace.clone()),
Opts::new("process_threads", "Number of OS threads in the process.")
.namespace(namespace.clone()),
)
.unwrap();
descs.extend(threads.desc().into_iter().cloned());
Expand Down

0 comments on commit 268c6f7

Please sign in to comment.