Re-exports§
pub use names::*;
Modules§
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.
- set_
build_ info - Sets the build information metric with version details as labels. The resulting metric will show as: snarkos_build_info{version=“4.2.1”,git_commit=“abc123”,git_branch=“main”,features=“cuda,metrics”} 1
- update_
block_ metrics