Module Shell_metrics.Chain_validator
type t = {
head_level : Prometheus.Gauge.t;
ignored_head_count : Prometheus.Counter.t;
branch_switch_count : Prometheus.Counter.t;
head_increment_count : Prometheus.Counter.t;
head_round : Prometheus.Gauge.t;
head_cycle : Prometheus.Gauge.t;
consumed_gas : Prometheus.Gauge.t;
is_bootstrapped : Prometheus.Gauge.t;
sync_status : Prometheus.Gauge.t;
worker_timestamps : Worker.timestamps;
worker_counters : Worker.counters;
}
val update_bootstrapped : metrics:t -> bool -> unit
val update_proto_metrics_callback :
metrics:t ->
cycle:float ->
consumed_gas:float ->
round:float ->
unit
val update_proto : (unit -> unit Lwt.t) -> unit