public class BaseCollectorConfig
extends org.apache.jmeter.testelement.AbstractTestElement
| Modifier and Type | Class and Description |
|---|---|
static class |
BaseCollectorConfig.JMeterCollectorType |
static class |
BaseCollectorConfig.QuantileDefinition
A very simple POJO for holding Quantiles and the error rating for them.
|
| Modifier and Type | Field and Description |
|---|---|
static double[] |
DEFAULT_BUCKET_SIZES |
static String |
DEFAULT_BUCKET_SIZES_STRING |
static String |
DEFAULT_HELP_STRING |
static BaseCollectorConfig.QuantileDefinition[] |
DEFAULT_QUANTILES |
static String |
DEFAULT_QUANTILES_STRING |
static String |
HELP |
static String |
LABELS |
static String |
METRIC_NAME_BASE |
static String |
NAME |
static String |
QUANTILES_OR_BUCKETS |
static String |
TYPE |
| Constructor and Description |
|---|
BaseCollectorConfig() |
addPropertiesValues, addProperty, addProperty, addTestElement, canRemove, clear, clearTemporary, clearTestElementChildren, clone, emptyTemporary, getComment, getName, getProperty, getPropertyAsBoolean, getPropertyAsBoolean, getPropertyAsDouble, getPropertyAsFloat, getPropertyAsInt, getPropertyAsInt, getPropertyAsLong, getPropertyAsLong, getPropertyAsString, getPropertyAsString, getSearchableTokens, getThreadContext, getThreadName, isEnabled, isRunningVersion, isTemporary, logProperties, mergeIn, propertyIterator, recoverRunningVersion, removeProperty, setComment, setEnabled, setName, setProperty, setProperty, setProperty, setProperty, setProperty, setProperty, setProperty, setProperty, setProperty, setRunningVersion, setTemporary, setThreadContext, setThreadName, traverse, traverseCollection, traverseMap, traversePropertypublic static String HELP
public static String NAME
public static String TYPE
public static String LABELS
public static String QUANTILES_OR_BUCKETS
public static double[] DEFAULT_BUCKET_SIZES
public static String DEFAULT_BUCKET_SIZES_STRING
public static BaseCollectorConfig.QuantileDefinition[] DEFAULT_QUANTILES
public static String DEFAULT_QUANTILES_STRING
public static String DEFAULT_HELP_STRING
public static String METRIC_NAME_BASE
public String getHelp()
public void setHelp(String help)
public String getType()
public BaseCollectorConfig.JMeterCollectorType getCollectorType()
public void setType(String type)
public String getQuantileOrBucket()
public void setQuantileOrBucket(String quantileOrBucket)
public double[] getBuckets()
public BaseCollectorConfig.QuantileDefinition[] getQuantiles()
public String getMetricName()
public void setMetricName(String name)
public String getRandomMetricName()
public void setLabels(String labels)
public void setLabels(String[] labels)
public String[] getLabels()
public String getLabelsAsString()
public static io.prometheus.client.Counter newCounter(BaseCollectorConfig cfg) throws Exception
Exceptionpublic static io.prometheus.client.Summary newSummary(BaseCollectorConfig cfg) throws Exception
Exceptionpublic static io.prometheus.client.Histogram newHistogram(BaseCollectorConfig cfg) throws Exception
Exceptionpublic static io.prometheus.client.Gauge newGauge(BaseCollectorConfig cfg) throws Exception
Exceptionpublic static io.prometheus.client.Collector fromConfig(BaseCollectorConfig cfg)
public boolean equals(Object o)
equals in class org.apache.jmeter.testelement.AbstractTestElementpublic int hashCode()
hashCode in class org.apache.jmeter.testelement.AbstractTestElementprotected double[] parseBucketsFromString(String fullBucketString)
Copyright © 2019. All rights reserved.