mirror of
https://github.com/sigp/lighthouse.git
synced 2026-03-15 02:42:38 +00:00
Use global prometheus gather at rest api
This commit is contained in:
@@ -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()
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user