Crate snarkos_node_metrics

Source

Modules§

bft
blocks
committee
consensus
router
tcp

Functions§

add_transmission_latency_metric
counter
Updates a counter with the given name to the given value.
decrement_gauge
Decrements a gauge with the given name by the given value.
gauge
Updates a gauge with the given name to the given value.
histogram
Updates a histogram with the given name to the given value.
histogram_label
increment_counter
Increments a counter with the given name by one.
increment_gauge
Increments a gauge with the given name by the given value.
initialize_metrics
Initializes the metrics and returns a handle to the task running the metrics exporter.
register_counter
Registers a counter with the given name.
register_gauge
Registers a gauge with the given name.
register_histogram
Registers a histogram with the given name.
register_metrics
Registers all snarkVM metrics.
update_block_metrics