Skip to content

Commit

Permalink
fixup! Silence prometheus float format warnings
Browse files Browse the repository at this point in the history
  • Loading branch information
GeorgeHahn committed Oct 10, 2023
1 parent 2ad78b8 commit 509c004
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lading/src/target_metrics/prometheus.rs
Original file line number Diff line number Diff line change
Expand Up @@ -136,7 +136,7 @@ impl Prometheus {
let name_and_labels = parts.next().unwrap();
let value = parts.next().unwrap();

if value.contains("#") {
if value.contains('#') {
trace!("Unknown format: {value}");
continue;
}
Expand Down

0 comments on commit 509c004

Please sign in to comment.