public class AbstractRiemannReporterConfig extends AbstractHostPortReporterConfig
| Modifier and Type | Field and Description |
|---|---|
protected java.lang.String |
localHost |
protected java.lang.String |
prefix |
protected java.lang.String |
separator |
protected java.util.List<java.lang.String> |
tags |
MACRO_HOST_ADDRESS, MACRO_HOST_FQDN, MACRO_HOST_NAME, MACRO_HOST_NAME_SHORTdurationunit, period, predicate, rateunit, timeunit| Constructor and Description |
|---|
AbstractRiemannReporterConfig() |
| Modifier and Type | Method and Description |
|---|---|
java.util.List<HostPort> |
getFullHostList() |
java.lang.String |
getLocalHost() |
java.lang.String |
getPrefix() |
java.lang.String |
getSeparator() |
java.util.List<java.lang.String> |
getTags() |
void |
setLocalHost(java.lang.String localHost) |
void |
setPrefix(java.lang.String prefix)
Sets the prefix to be prepended to all metric names.
|
void |
setSeparator(java.lang.String separator) |
void |
setTags(java.util.List<java.lang.String> tags) |
getHostListAndStringList, getHosts, getHostsString, getResolvedPrefix, parseHostString, setHosts, setHostsStringgetDurationunit, getPeriod, getPredicate, getRateunit, getRealDurationunit, getRealRateunit, getRealTimeunit, getTimeunit, isClassAvailable, setDurationunit, setPeriod, setPredicate, setRateunit, setTimeunitprotected java.lang.String localHost
protected java.lang.String prefix
protected java.lang.String separator
protected java.util.List<java.lang.String> tags
public java.util.List<java.lang.String> getTags()
public void setTags(java.util.List<java.lang.String> tags)
public java.lang.String getPrefix()
public void setPrefix(java.lang.String prefix)
AbstractHostPortReporterConfigSets the prefix to be prepended to all metric names. The prefix may contain the variable references in the following format: ${macro_name}.
The following macros are supported:
AbstractHostPortReporterConfig.MACRO_HOST_ADDRESSInetAddress.getHostAddress()AbstractHostPortReporterConfig.MACRO_HOST_NAMEInetAddress.getHostName()AbstractHostPortReporterConfig.MACRO_HOST_NAME_SHORTInetAddress.getHostName() up to first dotAbstractHostPortReporterConfig.MACRO_HOST_FQDNInetAddress.getCanonicalHostName()All substituted values are made metric-safe
setPrefix in class AbstractHostPortReporterConfigprefix - prefix valuepublic java.lang.String getLocalHost()
public void setLocalHost(java.lang.String localHost)
public java.lang.String getSeparator()
public void setSeparator(java.lang.String separator)
public java.util.List<HostPort> getFullHostList()
getFullHostList in class AbstractHostPortReporterConfigCopyright © 2021. All rights reserved.