Class GraphiteBackendListener
- java.lang.Object
-
- us.abstracta.jmeter.javadsl.core.testelements.BaseTestElement
-
- us.abstracta.jmeter.javadsl.core.listeners.BaseListener
-
- us.abstracta.jmeter.javadsl.core.listeners.DslBackendListener<GraphiteBackendListener>
-
- us.abstracta.jmeter.javadsl.core.listeners.GraphiteBackendListener
-
- All Implemented Interfaces:
DslTestElement,DslTestPlan.TestPlanChild,DslListener,BaseSampler.SamplerChild,MultiLevelTestElement,BaseThreadGroup.ThreadGroupChild
public class GraphiteBackendListener extends DslBackendListener<GraphiteBackendListener>
Test element which publishes all test run metrics to a Graphite instance.- Since:
- 1.25
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classGraphiteBackendListener.CodeBuilder-
Nested classes/interfaces inherited from class us.abstracta.jmeter.javadsl.core.listeners.DslBackendListener
DslBackendListener.BackendListenerCodeBuilder
-
-
Field Summary
-
Fields inherited from class us.abstracta.jmeter.javadsl.core.listeners.DslBackendListener
listenerClass, queueSize, url
-
Fields inherited from class us.abstracta.jmeter.javadsl.core.testelements.BaseTestElement
guiClass, name
-
-
Constructor Summary
Constructors Constructor Description GraphiteBackendListener(String url)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected org.apache.jmeter.config.ArgumentsbuildListenerArguments()GraphiteBackendListenermetricsPrefix(String prefix)Allows specifying the prefix used to store the metrics in Graphite.-
Methods inherited from class us.abstracta.jmeter.javadsl.core.listeners.DslBackendListener
buildTestElement, queueSize
-
Methods inherited from class us.abstracta.jmeter.javadsl.core.testelements.BaseTestElement
buildConfiguredTestElement, buildTestElementGui, buildTreeUnder, configureTestElement, durationToSeconds, loadBeanProperties, showAndWaitFrameWith, showFrameWith, showInGui, showTestElementGui
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface us.abstracta.jmeter.javadsl.core.DslTestElement
buildTreeUnder, showInGui
-
-
-
-
Constructor Detail
-
GraphiteBackendListener
public GraphiteBackendListener(String url)
-
-
Method Detail
-
metricsPrefix
public GraphiteBackendListener metricsPrefix(String prefix)
Allows specifying the prefix used to store the metrics in Graphite.This is useful to group the metrics of a single run, test plan, project, etc.
- Parameters:
prefix- specifies the prefix to be used to store the metrics. When not specified "jmeter." is used.- Returns:
- the Graphite listener for further configuration or usage.
-
buildListenerArguments
protected org.apache.jmeter.config.Arguments buildListenerArguments()
- Specified by:
buildListenerArgumentsin classDslBackendListener<GraphiteBackendListener>
-
-