Attributes
- Companion
- class
- Source
- JavaMetricRegistry.scala
- Graph
-
- Supertypes
- Self type
-
JavaMetricRegistry.type
Members list
Type members
Classlikes
Attributes
- Companion
- object
- Source
- JavaMetricRegistry.scala
- Supertypes
Attributes
- Companion
- class
- Source
- JavaMetricRegistry.scala
- Supertypes
- Self type
-
Builder.type
Value members
Deprecated methods
Create a metric registry using the default io.prometheus.client.CollectorRegistry
Create a metric registry using the default io.prometheus.client.CollectorRegistry
Note that this registry implementation introduces a runtime constraint that requires each metric must have a unique name, even if the label names are different. See this issue for more details https://github.com/prometheus/client_java/issues/696.
Value parameters
- callbackCollectionTimeout
-
how long the combined set of callbacks for a metric or metric collection should take to time out. This is for all callbacks for a metric or all callbacks returning a metric collection.
- callbackTimeout
-
How long all callbacks for a certain metric name should be allowed to take before timing out. This is per metric name.
Attributes
- Deprecated
- true
- Source
- JavaMetricRegistry.scala
Create a metric registry using the given io.prometheus.client.CollectorRegistry
Create a metric registry using the given io.prometheus.client.CollectorRegistry
Note that this registry implementation introduces a runtime constraint that requires each metric must have a unique name, even if the label names are different. See this issue for more details https://github.com/prometheus/client_java/issues/696.
Value parameters
- callbackCollectionTimeout
-
how long the combined set of callbacks for a metric or metric collection should take to time out. This is for all callbacks for a metric or all callbacks returning a metric collection.
- callbackTimeout
-
How long all callbacks for a certain metric name should be allowed to take before timing out. This is per metric name.
- promRegistry
-
the
io.prometheus.client.CollectorRegistry
to use
Attributes
- Deprecated
- true
- Source
- JavaMetricRegistry.scala