Module Octogram.Prometheus_server

type metrics_source = {
  1. job_name : string;
  2. target : string;
}
val metrics_source_encoding : metrics_source Data_encoding.t
type t
val wait : t -> Unix.process_status Lwt.t
val wait_for_ready : t -> unit Lwt.t
val create : ?path:string -> ?color:Tezt.Log.Color.t -> ?event_pipe:string -> ?web_listen_port:int -> unit -> t
val run : ?kill_running_instances:bool -> ?on_terminate:(Unix.process_status -> unit) -> ?event_level:Tezt_mavryk.Daemon.Level.default_level -> ?event_sections_levels:(string * Tezt_mavryk.Daemon.Level.level) list -> t -> unit Lwt.t
val record_metrics_source : t -> metrics_source -> unit Lwt.t