Use global prometheus gather at rest api

This commit is contained in:
Paul Hauner
2019-08-11 14:46:20 +10:00
parent e33d0703ef
commit 36ff115b04
2 changed files with 1 additions and 7 deletions

View File

@@ -116,7 +116,3 @@ lazy_static! {
pub static ref FORK_CHOICE_TIMES: Result<Histogram> =
register_histogram!("fork_choice_time", "Full runtime of fork choice");
}
pub fn gather_metrics() -> Vec<prometheus::proto::MetricFamily> {
prometheus::gather()
}