foundations
foundations copied to clipboard
Provide foundations::telemetry::metrics::with_registry()
Currently there is no way to enable third party libraries to register metrics, which is not great. With this new method those libraries can get a Registry
to register their metrics when they initialize, while still giving the end user control over prefixes and external labels.