@ConfigurationProperties(prefix="spring.metrics.export") public class MetricExportProperties extends TriggerProperties
Modifier and Type | Class and Description |
---|---|
static class |
MetricExportProperties.Aggregate
Aggregate properties.
|
static class |
MetricExportProperties.Redis
Redis properties.
|
static class |
MetricExportProperties.Statsd
Statsd properties.
|
Constructor and Description |
---|
MetricExportProperties() |
Modifier and Type | Method and Description |
---|---|
TriggerProperties |
findTrigger(String name)
Find a matching trigger configuration.
|
MetricExportProperties.Aggregate |
getAggregate() |
MetricExportProperties.Redis |
getRedis() |
MetricExportProperties.Statsd |
getStatsd() |
Map<String,SpecificTriggerProperties> |
getTriggers()
Configuration for triggers on individual named writers.
|
void |
setAggregate(MetricExportProperties.Aggregate aggregate) |
void |
setRedis(MetricExportProperties.Redis redis) |
void |
setStatsd(MetricExportProperties.Statsd statsd) |
void |
setUpDefaults() |
getDelayMillis, getExcludes, getIncludes, isEnabled, isSendLatest, setDelayMillis, setEnabled, setExcludes, setIncludes, setSendLatest
@PostConstruct public void setUpDefaults()
public Map<String,SpecificTriggerProperties> getTriggers()
public MetricExportProperties.Aggregate getAggregate()
public void setAggregate(MetricExportProperties.Aggregate aggregate)
public MetricExportProperties.Redis getRedis()
public void setRedis(MetricExportProperties.Redis redis)
public MetricExportProperties.Statsd getStatsd()
public void setStatsd(MetricExportProperties.Statsd statsd)
public TriggerProperties findTrigger(String name)
name
- the bean name to matchCopyright © 2017 Pivotal Software, Inc.. All rights reserved.