Prometheus.ex v1.0.0-alpha10 Prometheus.Registry
A registry of Collectors.
The majority of users should use the :default
, rather than their own.
Creating a registry other than the default is primarily useful for unit tests, or pushing a subset of metrics to the Pushgateway from batch jobs.
Summary
Macros
Unregisters all collectors
Calls callback
for each collector with two arguments: registry
and collector
Checks whether collector
is registered
Returns collectors registered in registry
Unregisters a collector
Registers a collector
Registers collectors list
Macros
Calls callback
for each collector with two arguments: registry
and collector
.