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 Details

    • enable

      public final boolean enable
      Enables / disables reporting.
    • host

      public final String host
      The name / IP address of the Carbon server host.
    • port

      public final int port
      The port of the Carbon server.
    • reportInterval

      public final int reportInterval
      The report interval, in seconds.
    • batchSize

      public final int batchSize
      Controls batching (pickling) of metrics to the Carbon server, zero if disabled.
    • prefix

      public final String 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

      public final TimeUnit ratesTimeUnit
      The rates time unit.
    • durationsTimeUnit

      The durations time unit.
    • filter

      The metrics filter (white list with wild card support).
  • Constructor Details

    • Graphite

      public Graphite(Properties props) throws com.thetransactioncompany.util.PropertyParseException
      Creates a new Graphite reporting configuration.
      Parameters:
      props - The properties. Must not be null.
      Throws:
      com.thetransactioncompany.util.PropertyParseException - On a missing or invalid property.
  • Method Details