package
Version:
v0.0.0-...-ddee7fb
Opens a new window with list of versions in this module.
Published: Nov 9, 2021
License: Apache-2.0
Opens a new window with license information.
Imports: 3
Opens a new window with list of imports.
Imported by: 6
Opens a new window with list of known importers.
Documentation
¶
Package registry holds a map of all metrics registered by the process.
This map is global and it is populated during init() time, when individual
metrics are defined.
Add adds a metric to the metric registry.
Panics if a metric with such name is already defined.
Iter calls a callback for each registered metric.
Metrics are visited in no particular order. The callback must not modify
the registry.
Source Files
¶
Click to show internal directories.
Click to hide internal directories.