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)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void afterExecutionEnd​(step.core.execution.ExecutionContext context)  
      void initializeExecutionContext​(step.core.execution.ExecutionEngineContext executionEngineContext, step.core.execution.ExecutionContext executionContext)  
      void processGauges​(java.util.List<step.plugins.measurements.Measurement> measurements)  
      void processMeasurements​(java.util.List<step.plugins.measurements.Measurement> measurements)  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • 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
      • processGauges

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