[][src]Function beacon_chain::scrape_for_metrics

pub fn scrape_for_metrics<T: BeaconChainTypes>(beacon_chain: &BeaconChain<T>)

Scrape the beacon_chain for metrics that are not constantly updated (e.g., the present slot, head state info, etc) and update the Prometheus DEFAULT_REGISTRY.