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"}
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description java.util.List<io.prometheus.client.Collector.MetricFamilySamples>
collect()
static ProcessWorkflowMetricsCollector
getInstance()
void
initialize(java.util.Map<java.lang.Integer,java.util.Map<java.lang.String,ProcessWorkflow>> workflowMap)
-
-
-
Method Detail
-
getInstance
public static ProcessWorkflowMetricsCollector getInstance()
-
collect
public java.util.List<io.prometheus.client.Collector.MetricFamilySamples> collect()
- Specified by:
collect
in classio.prometheus.client.Collector
-
initialize
public void initialize(java.util.Map<java.lang.Integer,java.util.Map<java.lang.String,ProcessWorkflow>> workflowMap)
-
-