Class PrometheusHandler

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

    public class PrometheusHandler
    extends Object
    implements step.plugins.measurements.MeasurementHandler
    • 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​(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​(String taskId)
      • processGauges

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

        public void stop()