Module chain_follower

Source
Expand description

Metrics related to Chain Follower analytics.

Modules§

reporter 🔒
All the related Chain Follower reporting metrics to the Prometheus service are inside this module.

Statics§

IS_INITIALIZED 🔒
This is to prevent the init function from accidentally being called multiple times.

Functions§

init_metrics_reporter 🔒
Starts a background thread to periodically update Chain Follower metrics.
report_live 🔒
Performs reporting Chain Follower’s Live information to Prometheus.
report_mithril 🔒
Performs reporting Chain Follower’s Mithril information to Prometheus.