Module Mavkit_smart_rollup_node.Metrics

val sc_rollup_node_registry : Prometheus.CollectorRegistry.t

The collector registry for the rollup node metrics.

val metrics_serve : string option -> (unit, Mavryk_base.TzPervasives.tztrace) Stdlib.result Lwt.t

metrics_server metrics_addr runs a server for the rollup metrics on metrics_addr. The metrics are accessible thanks to a /metrics request.

val print_csv_metrics : Stdlib.Format.formatter -> 'a Prometheus.MetricFamilyMap.t -> unit

print_csv_metrics ppf metrics prints the metrics as CSV.

module Info : sig ... end

The node info metrics

module Inbox : sig ... end

The metrics related to Inboxes