LoggableConfiguration
public static final class MonitorConfiguration.Graphite extends Object implements LoggableConfiguration
Modifier and Type | Field | Description |
---|---|---|
int |
batchSize |
Controls batching (pickling) of metrics to the Carbon
server, zero if disabled.
|
TimeUnit |
durationsTimeUnit |
The durations time unit.
|
boolean |
enable |
Enables / disables reporting.
|
WildCardMetricFilter |
filter |
The metrics filter (white list with wild card support).
|
String |
host |
The name / IP address of the Carbon server host.
|
int |
port |
The port of the Carbon server.
|
String |
prefix |
Prefix for the metrics that are sent to the Carbon server.
|
TimeUnit |
ratesTimeUnit |
The rates time unit.
|
int |
reportInterval |
The report interval, in seconds.
|
LOG_CATEGORY
Constructor | Description |
---|---|
Graphite(Properties props) |
Creates a new Graphite reporting configuration.
|
public final boolean enable
public final int port
public final int reportInterval
public final int batchSize
public final String prefix
public final TimeUnit ratesTimeUnit
public final TimeUnit durationsTimeUnit
public final WildCardMetricFilter filter
public Graphite(Properties props) throws com.thetransactioncompany.util.PropertyParseException
props
- The properties. Must not be null
.com.thetransactioncompany.util.PropertyParseException
- On a missing or invalid
property.public void log()
LoggableConfiguration
log
in interface LoggableConfiguration
Copyright © 2018 Connect2id. All rights reserved.