Class GraphiteBackendListenerClient

    • Constructor Detail

      • GraphiteBackendListenerClient

        public GraphiteBackendListenerClient()
    • Method Detail

      • run

        public void run()
        Specified by:
        run in interface Runnable
      • sendMetrics

        protected void sendMetrics()
        Send metrics to Graphite
      • getSamplersList

        public String getSamplersList()
        Returns:
        the samplersList
      • setSamplersList

        public void setSamplersList​(String samplersList)
        Parameters:
        samplersList - the samplersList to set
      • setupTest

        public void setupTest​(BackendListenerContext context)
                       throws Exception
        Description copied from interface: BackendListenerClient
        Do any initialization required by this client. It is generally recommended to do any initialization such as getting parameter values in the setupTest method rather than the runTest method in order to add as little overhead as possible to the test.
        Specified by:
        setupTest in interface BackendListenerClient
        Overrides:
        setupTest in class AbstractBackendListenerClient
        Parameters:
        context - the context to run with. This provides access to initialization parameters. Context is readonly
        Throws:
        Exception - when setup fails
      • getDefaultParameters

        public Arguments getDefaultParameters()
        Description copied from interface: BackendListenerClient
        Provide a list of parameters which this test supports. Any parameter names and associated values returned by this method will appear in the GUI by default so the user doesn't have to remember the exact names. The user can add other parameters which are not listed here. If this method returns null then no parameters will be listed. If the value for some parameter is null then that parameter will be listed in the GUI with an empty value.
        Specified by:
        getDefaultParameters in interface BackendListenerClient
        Overrides:
        getDefaultParameters in class AbstractBackendListenerClient
        Returns:
        a specification of the parameters used by this test which should be listed in the GUI, or null if no parameters should be listed.