public abstract class AbstractPrometheusReporterConfig extends AbstractHostPortReporterConfig
Modifier and Type | Class and Description |
---|---|
static class |
AbstractPrometheusReporterConfig.Type |
Modifier and Type | Field and Description |
---|---|
protected String |
job |
protected Map<String,String> |
labels |
protected String |
name |
protected Map<String,String> |
resolvedLabels |
protected AbstractPrometheusReporterConfig.Type |
type |
MACRO_HOST_ADDRESS, MACRO_HOST_FQDN, MACRO_HOST_NAME, MACRO_HOST_NAME_SHORT
durationunit, period, predicate, rateunit, timeunit
Constructor and Description |
---|
AbstractPrometheusReporterConfig() |
Modifier and Type | Method and Description |
---|---|
String |
getJob() |
Map<String,String> |
getLabels() |
String |
getName() |
Map<String,String> |
getResolvedLabels() |
AbstractPrometheusReporterConfig.Type |
getType() |
void |
setJob(String job) |
void |
setLabels(Map<String,String> labels) |
void |
setName(String name) |
void |
setType(AbstractPrometheusReporterConfig.Type type) |
getFullHostList, getHostListAndStringList, getHosts, getHostsString, getResolvedPrefix, parseHostString, setHosts, setHostsString, setPrefix
getDurationunit, getPeriod, getPredicate, getRateunit, getRealDurationunit, getRealRateunit, getRealTimeunit, getTimeunit, isClassAvailable, setDurationunit, setPeriod, setPredicate, setRateunit, setTimeunit
protected String name
@NotNull protected AbstractPrometheusReporterConfig.Type type
@NotNull protected String job
public String getName()
public void setName(String name)
public String getJob()
public void setJob(String job)
public void setType(AbstractPrometheusReporterConfig.Type type)
public AbstractPrometheusReporterConfig.Type getType()
Copyright © 2017. All Rights Reserved.