Class ProcessWorkflowMetricsCollector
java.lang.Object
io.prometheus.client.Collector
fr.gouv.vitam.processing.common.metrics.ProcessWorkflowMetricsCollector
public class ProcessWorkflowMetricsCollector
extends io.prometheus.client.Collector
Collect metrics from processing operations.
With the example above, sample metric names would be:
vitam_processing_workflow_operation_total{workflow="ingest"}
-
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
-
Method Summary
Modifier and TypeMethodDescriptionList<io.prometheus.client.Collector.MetricFamilySamples>
collect()
void
initialize
(Map<Integer, Map<String, ProcessWorkflow>> workflowMap) Methods inherited from class io.prometheus.client.Collector
checkMetricLabelName, checkMetricName, collect, doubleToGoString, register, register, sanitizeMetricName
-
Method Details
-
getInstance
-
collect
- Specified by:
collect
in classio.prometheus.client.Collector
-
initialize
-