Module Evm_node_lib_dev.Metrics

val listing : unit -> string Lwt.t

A description of the metrics exported by the node.

type metrics_body = {
  1. body : string;
  2. content_type : string;
}
val get_metrics : unit -> metrics_body Lwt.t
module Metrics_server : sig ... end
module Tx_pool : sig ... end
val init : mode:string -> tx_pool_size_info: (unit -> Tx_pool.size_info Tezos_base.TzPervasives.tzresult Lwt.t) -> smart_rollup_address:Tezos_crypto.Hashed.Smart_rollup_address.t -> unit
val set_level : level:Z.t -> unit
val set_gas_price : Z.t -> unit
val set_confirmed_level : level:Z.t -> unit
val set_l1_level : level:int32 -> unit
val start_bootstrapping : unit -> unit
val stop_bootstrapping : unit -> unit
val start_pruning : unit -> unit
val stop_pruning : unit -> unit
val inc_time_waiting : Ptime.span -> unit

inc_time_waiting dt registers that a caller had to wait dt seconds in the queue before its WASM execution could start.

val set_simulation_queue_size : int -> unit

set_simulation_queue_size s registers that the queue of WASM execution.

val is_bootstrapping : unit -> bool
val set_block : time_processed:Ptime.span -> transactions:int -> unit
val record_signals_sent : (int * int32) list -> unit
val inc_confirm_gas_needed : unit -> unit

inc_confirm_gas_needed () registers that it was necessary to simulate gas one more time, because the previous simulation did not return enough gas.

val record_blueprint_chunks_sent_on_dal : Sequencer_blueprint.t list -> unit
val record_blueprint_chunks_sent_on_inbox : Blueprint_types.chunk list -> unit
val inc_rpc_method : name:string -> unit
module Rpc : sig ... end
module type PERFORMANCE = sig ... end
val performance_metrics : (module PERFORMANCE) Stdlib.Lazy.t