Class 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  
    • 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)  
      • Methods inherited from class step.core.plugins.AbstractControllerPlugin

        canBeDisabled, getExecutionEnginePlugin, getWebPlugin, initializeData, migrateData
      • Methods inherited from class step.core.plugins.AbstractPlugin

        toString, validate
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
    • Field Detail

      • measurementHistogram

        public io.prometheus.client.Histogram measurementHistogram
    • Constructor Detail

      • PrometheusControllerPlugin

        public PrometheusControllerPlugin()
    • Method Detail

      • serverStart

        public void serverStart​(step.core.GlobalContext context)
                         throws java.lang.Exception
        Specified by:
        serverStart in interface step.framework.server.ServerPlugin<step.core.GlobalContext>
        Overrides:
        serverStart in class step.core.plugins.AbstractControllerPlugin
        Throws:
        java.lang.Exception
      • afterInitializeData

        public void afterInitializeData​(step.core.GlobalContext context)
                                 throws java.lang.Exception
        Specified by:
        afterInitializeData in interface step.framework.server.ServerPlugin<step.core.GlobalContext>
        Overrides:
        afterInitializeData in class step.core.plugins.AbstractControllerPlugin
        Throws:
        java.lang.Exception
      • serverStop

        public void serverStop​(step.core.GlobalContext context)
        Specified by:
        serverStop in interface step.framework.server.ServerPlugin<step.core.GlobalContext>
        Overrides:
        serverStop in class step.core.plugins.AbstractControllerPlugin