Class PrometheusHandler
- java.lang.Object
-
- step.plugins.measurements.prometheus.PrometheusHandler
-
- All Implemented Interfaces:
step.plugins.measurements.MeasurementHandler
public class PrometheusHandler extends 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)
Map<String,LabelsSet>
getLabelsByExec()
Map<String,LabelsSet>
getLabelsByTask()
void
initializeExecutionContext(step.core.execution.ExecutionEngineContext executionEngineContext, step.core.execution.ExecutionContext executionContext)
void
processGauges(List<step.plugins.measurements.Measurement> measurements)
void
processMeasurements(List<step.plugins.measurements.Measurement> measurements)
void
removeTaskLabels(String taskId)
void
stop()
-
-
-
Method Detail
-
initializeExecutionContext
public void initializeExecutionContext(step.core.execution.ExecutionEngineContext executionEngineContext, step.core.execution.ExecutionContext executionContext)
- Specified by:
initializeExecutionContext
in interfacestep.plugins.measurements.MeasurementHandler
-
processMeasurements
public void processMeasurements(List<step.plugins.measurements.Measurement> measurements)
- Specified by:
processMeasurements
in interfacestep.plugins.measurements.MeasurementHandler
-
afterExecutionEnd
public void afterExecutionEnd(step.core.execution.ExecutionContext context)
- Specified by:
afterExecutionEnd
in interfacestep.plugins.measurements.MeasurementHandler
-
removeTaskLabels
public void removeTaskLabels(String taskId)
-
processGauges
public void processGauges(List<step.plugins.measurements.Measurement> measurements)
- Specified by:
processGauges
in interfacestep.plugins.measurements.MeasurementHandler
-
stop
public void stop()
-
-