package octez-shell-libs
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_sync_status :
metrics:t ->
Tezos_shell_services.Chain_validator_worker_state.synchronisation_status ->
unit
val init : string list -> Tezos_base.TzPervasives.Chain_id.t -> t
val update_proto_metrics_callback :
metrics:t ->
cycle:float ->
consumed_gas:float ->
round:float ->
unit
val update_proto : (unit -> unit Lwt.t) -> unit
sectionYPositions = computeSectionYPositions($el), 10)"
x-init="setTimeout(() => sectionYPositions = computeSectionYPositions($el), 10)"
>