Package org.jenkinsci.plugins.prometheus
Class JobCollector
java.lang.Object
io.prometheus.client.Collector
org.jenkinsci.plugins.prometheus.JobCollector
public class JobCollector
extends io.prometheus.client.Collector
-
Nested Class Summary
Nested 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.Collector
MILLISECONDS_PER_SECOND, NANOSECONDS_PER_SECOND
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected void
appendJobMetrics
(Job<?, ?> job) List<io.prometheus.client.Collector.MetricFamilySamples>
collect()
Methods inherited from class io.prometheus.client.Collector
checkMetricLabelName, checkMetricName, collect, doubleToGoString, register, register, sanitizeMetricName
-
Constructor Details
-
JobCollector
public JobCollector()
-
-
Method Details
-
collect
- Specified by:
collect
in classio.prometheus.client.Collector
-
appendJobMetrics
-