Package com.nimbusds.common.config
Class MonitorConfiguration.Graphite
java.lang.Object
com.nimbusds.common.config.MonitorConfiguration.Graphite
- All Implemented Interfaces:
LoggableConfiguration
- Enclosing class:
- MonitorConfiguration
public static final class MonitorConfiguration.Graphite
extends Object
implements LoggableConfiguration
Graphite reporting configuration.
-
Field Summary
FieldsModifier and TypeFieldDescriptionfinal int
Controls batching (pickling) of metrics to the Carbon server, zero if disabled.final TimeUnit
The durations time unit.final boolean
Enables / disables reporting.final WildCardMetricFilter
The metrics filter (white list with wild card support).final String
The name / IP address of the Carbon server host.final int
The port of the Carbon server.final String
Prefix for the metrics that are sent to the Carbon server.final TimeUnit
The rates time unit.final int
The report interval, in seconds.Fields inherited from interface com.nimbusds.common.config.LoggableConfiguration
LOG_CATEGORY
-
Constructor Summary
Constructors -
Method Summary
-
Field Details
-
enable
Enables / disables reporting. -
host
The name / IP address of the Carbon server host. -
port
The port of the Carbon server. -
reportInterval
The report interval, in seconds. -
batchSize
Controls batching (pickling) of metrics to the Carbon server, zero if disabled. -
prefix
Prefix for the metrics that are sent to the Carbon server. May be used to send a password or other credential to the server. -
ratesTimeUnit
The rates time unit. -
durationsTimeUnit
The durations time unit. -
filter
The metrics filter (white list with wild card support).
-
-
Constructor Details
-
Graphite
Creates a new Graphite reporting configuration.- Parameters:
props
- The properties. Must not benull
.- Throws:
com.thetransactioncompany.util.PropertyParseException
- On a missing or invalid property.
-
-
Method Details
-
log
Description copied from interface:LoggableConfiguration
Logs the configuration properties at INFO level.- Specified by:
log
in interfaceLoggableConfiguration
-