Compare commits

...

2 Commits

Author SHA1 Message Date
Deirdre Connolly bde1a50315 Remove extra new lines 2021-10-08 23:56:20 -04:00
Deirdre Connolly d10286ff1e Do not start output with a '# metrics snapshot' etc prelude 2021-10-08 20:52:14 -04:00
1 changed files with 2 additions and 5 deletions

View File

@ -13,13 +13,14 @@ use metrics_util::{
parse_quantiles, CompositeKey, Handle, Histogram, MetricKind, Quantile, Registry,
};
use parking_lot::RwLock;
use std::collections::HashMap;
use std::io;
use std::iter::FromIterator;
use std::net::{IpAddr, Ipv4Addr, SocketAddr};
use std::sync::Arc;
#[cfg(feature = "tokio-exporter")]
use std::thread;
use std::{collections::HashMap, time::SystemTime};
use std::time::SystemTime;
use thiserror::Error as ThisError;
#[cfg(feature = "tokio-exporter")]
use tokio::{pin, runtime, select};
@ -211,7 +212,6 @@ impl Inner {
output.push_str(value.to_string().as_str());
output.push_str("\n");
}
output.push_str("\n");
}
for (name, mut by_labels) in gauges.drain() {
@ -233,7 +233,6 @@ impl Inner {
output.push_str(value.to_string().as_str());
output.push_str("\n");
}
output.push_str("\n");
}
let mut sorted_overrides = self
@ -316,8 +315,6 @@ impl Inner {
output.push_str(count.to_string().as_str());
output.push_str("\n");
}
output.push_str("\n");
}
output