Class 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

      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)  
      • Methods inherited from class io.prometheus.client.Collector

        checkMetricLabelName, checkMetricName, doubleToGoString, register, register, sanitizeMetricName
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Method Detail

      • collect

        public java.util.List<io.prometheus.client.Collector.MetricFamilySamples> collect()
        Specified by:
        collect in class io.prometheus.client.Collector
      • initialize

        public void initialize​(java.util.Map<java.lang.Integer,​java.util.Map<java.lang.String,​ProcessWorkflow>> workflowMap)