package octez-shell-libs

  1. Overview
  2. Docs
Legend:
Library
Module
Module type
Parameter
Class
Class type
type t = {
  1. head_level : Prometheus.Gauge.t;
  2. ignored_head_count : Prometheus.Counter.t;
  3. branch_switch_count : Prometheus.Counter.t;
  4. head_increment_count : Prometheus.Counter.t;
  5. head_round : Prometheus.Gauge.t;
  6. head_cycle : Prometheus.Gauge.t;
  7. consumed_gas : Prometheus.Gauge.t;
  8. is_bootstrapped : Prometheus.Gauge.t;
  9. sync_status : Prometheus.Gauge.t;
  10. worker_timestamps : Worker.timestamps;
  11. worker_counters : Worker.counters;
}
val update_bootstrapped : metrics:t -> bool -> 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
OCaml

Innovation. Community. Security.