public class AbstractRiemannReporterConfig extends AbstractHostPortReporterConfig
| Modifier and Type | Field and Description |
|---|---|
protected String |
localHost |
protected String |
prefix |
protected String |
separator |
protected List<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 |
|---|---|
List<HostPort> |
getFullHostList() |
String |
getLocalHost() |
String |
getPrefix() |
String |
getSeparator() |
List<String> |
getTags() |
void |
setLocalHost(String localHost) |
void |
setPrefix(String prefix)
Sets the prefix to be prepended to all metric names.
|
void |
setSeparator(String separator) |
void |
setTags(List<String> tags) |
getHostListAndStringList, getHosts, getHostsString, getResolvedPrefix, parseHostString, setHosts, setHostsStringgetDurationunit, getPeriod, getPredicate, getRateunit, getRealDurationunit, getRealRateunit, getRealTimeunit, getTimeunit, isClassAvailable, setDurationunit, setPeriod, setPredicate, setRateunit, setTimeunitprotected String localHost
protected String prefix
protected String separator
public String getPrefix()
public void setPrefix(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 String getLocalHost()
public void setLocalHost(String localHost)
public String getSeparator()
public void setSeparator(String separator)
public List<HostPort> getFullHostList()
getFullHostList in class AbstractHostPortReporterConfigCopyright © 2015 AddThis. All rights reserved.