Class PrometheusControllerPlugin
- java.lang.Object
-
- step.core.plugins.AbstractPlugin
-
- step.core.plugins.AbstractControllerPlugin
-
- step.plugins.measurements.prometheus.PrometheusControllerPlugin
-
- All Implemented Interfaces:
step.core.plugins.ControllerPlugin
,step.core.plugins.OptionalPlugin
,step.framework.server.ServerPlugin<step.core.GlobalContext>
public class PrometheusControllerPlugin extends step.core.plugins.AbstractControllerPlugin
-
-
Field Summary
Fields Modifier and Type Field Description io.prometheus.client.Histogram
measurementHistogram
-
Constructor Summary
Constructors Constructor Description PrometheusControllerPlugin()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
afterInitializeData(step.core.GlobalContext context)
void
serverStart(step.core.GlobalContext context)
void
serverStop(step.core.GlobalContext context)
-
-
-
Method Detail
-
serverStart
public void serverStart(step.core.GlobalContext context) throws Exception
- Specified by:
serverStart
in interfacestep.framework.server.ServerPlugin<step.core.GlobalContext>
- Overrides:
serverStart
in classstep.core.plugins.AbstractControllerPlugin
- Throws:
Exception
-
afterInitializeData
public void afterInitializeData(step.core.GlobalContext context) throws Exception
- Specified by:
afterInitializeData
in interfacestep.framework.server.ServerPlugin<step.core.GlobalContext>
- Overrides:
afterInitializeData
in classstep.core.plugins.AbstractControllerPlugin
- Throws:
Exception
-
serverStop
public void serverStop(step.core.GlobalContext context)
- Specified by:
serverStop
in interfacestep.framework.server.ServerPlugin<step.core.GlobalContext>
- Overrides:
serverStop
in classstep.core.plugins.AbstractControllerPlugin
-
-