Class PrometheusHandler

  • All Implemented Interfaces:
    step.plugins.measurements.MeasurementHandler

    public class PrometheusHandler
    extends java.lang.Object
    implements step.plugins.measurements.MeasurementHandler
    • Constructor Summary

      Constructors 
      Constructor Description
      PrometheusHandler​(io.prometheus.client.Histogram measurementHistogram)  
    • Constructor Detail

      • PrometheusHandler

        public PrometheusHandler​(io.prometheus.client.Histogram measurementHistogram)
    • Method Detail

      • initializeExecutionContext

        public void initializeExecutionContext​(step.core.execution.ExecutionEngineContext executionEngineContext,
                                               step.core.execution.ExecutionContext executionContext)
        Specified by:
        initializeExecutionContext in interface step.plugins.measurements.MeasurementHandler
      • processMeasurements

        public void processMeasurements​(java.util.List<step.plugins.measurements.Measurement> measurements)
        Specified by:
        processMeasurements in interface step.plugins.measurements.MeasurementHandler
      • afterExecutionEnd

        public void afterExecutionEnd​(step.core.execution.ExecutionContext context)
        Specified by:
        afterExecutionEnd in interface step.plugins.measurements.MeasurementHandler
      • removeTaskLabels

        public void removeTaskLabels​(java.lang.String taskId)
      • processGauges

        public void processGauges​(java.util.List<step.plugins.measurements.Measurement> measurements)
        Specified by:
        processGauges in interface step.plugins.measurements.MeasurementHandler
      • getLabelsByExec

        public java.util.Map<java.lang.String,​LabelsSet> getLabelsByExec()
      • getLabelsByTask

        public java.util.Map<java.lang.String,​LabelsSet> getLabelsByTask()