Class Summary
java.lang.Object
io.prometheus.client.Collector
io.prometheus.client.SimpleCollector<org.apache.pulsar.broker.stats.prometheus.metrics.Summary.Child>
org.apache.pulsar.broker.stats.prometheus.metrics.Summary
- All Implemented Interfaces:
io.prometheus.client.Collector.Describable
public class Summary
extends io.prometheus.client.SimpleCollector<org.apache.pulsar.broker.stats.prometheus.metrics.Summary.Child>
implements io.prometheus.client.Collector.Describable
-
Nested Class Summary
Nested ClassesNested classes/interfaces inherited from class io.prometheus.client.Collector
io.prometheus.client.Collector.Describable, io.prometheus.client.Collector.MetricFamilySamples, io.prometheus.client.Collector.Type -
Field Summary
Fields inherited from class io.prometheus.client.SimpleCollector
children, fullname, help, labelNames, noLabelsChild, unitFields inherited from class io.prometheus.client.Collector
MILLISECONDS_PER_SECOND, NANOSECONDS_PER_SECOND -
Method Summary
Modifier and TypeMethodDescriptionstatic Summary.Builderbuild()static Summary.BuilderList<io.prometheus.client.Collector.MetricFamilySamples>collect()List<io.prometheus.client.Collector.MetricFamilySamples>describe()protected org.apache.pulsar.broker.stats.prometheus.metrics.Summary.ChildnewChild()voidstatic voidMethods inherited from class io.prometheus.client.SimpleCollector
clear, familySamplesList, initializeNoLabelsChild, labels, remove, setChildMethods inherited from class io.prometheus.client.Collector
checkMetricLabelName, checkMetricName, collect, doubleToGoString, register, register, sanitizeMetricName
-
Method Details
-
build
-
build
-
newChild
protected org.apache.pulsar.broker.stats.prometheus.metrics.Summary.Child newChild()- Specified by:
newChildin classio.prometheus.client.SimpleCollector<org.apache.pulsar.broker.stats.prometheus.metrics.Summary.Child>
-
observe
-
rotateLatencyCollection
public static void rotateLatencyCollection() -
collect
- Specified by:
collectin classio.prometheus.client.Collector
-
describe
- Specified by:
describein interfaceio.prometheus.client.Collector.Describable
-