public class GraphiteReporterConfig extends Object
| Modifier and Type | Class and Description |
|---|---|
static class |
GraphiteReporterConfig.Builder |
| Modifier and Type | Method and Description |
|---|---|
static GraphiteReporterConfig.Builder |
builder() |
boolean |
equals(Object o) |
HostAndPort |
getAddress()
Retrieves the address (host and port) of the Graphite instance to push metrics to.
|
Set<String> |
getBlockedStartsWithFilters()
Retrieves the filters to apply to metrics in order to decide which metrics should not be reported to Graphite.
|
long |
getReportingIntervalInSeconds()
Retrieves the reporting interval in seconds.
|
Set<String> |
getStartsWithFilters()
Retrieves the filters to apply to metrics in order to decide which metrics should be reported to Graphite.
|
int |
hashCode() |
boolean |
isEnableBatching()
Indicates whether the Graphite reporter should employ batching or not.
|
boolean |
isEnableReporter()
Indicates whether the reporter should be enabled or not.
|
boolean |
isReportOnShutdown()
Indicates whether metrics should be published to Graphite prior to shutting down the reporter or not.
|
String |
toString() |
public boolean isEnableReporter()
public HostAndPort getAddress()
public long getReportingIntervalInSeconds()
GraphiteReporterConfig.Builder.DEFAULT_REPORTING_INTERVAL_IN_SECONDS.public boolean isEnableBatching()
public boolean isReportOnShutdown()
public Set<String> getStartsWithFilters()
public Set<String> getBlockedStartsWithFilters()
public static GraphiteReporterConfig.Builder builder()
Copyright © 2016–2017. All rights reserved.