diff --git a/lading/src/target_metrics/prometheus.rs b/lading/src/target_metrics/prometheus.rs index b5381e5d9..e3880c31b 100644 --- a/lading/src/target_metrics/prometheus.rs +++ b/lading/src/target_metrics/prometheus.rs @@ -136,6 +136,11 @@ impl Prometheus { let name_and_labels = parts.next().unwrap(); let value = parts.next().unwrap(); + if value.contains('#') { + trace!("Unknown format: {value}"); + continue; + } + let (name, labels) = { if let Some((name, labels)) = name_and_labels.split_once('{') { let labels = labels.trim_end_matches('}');