com.yammer.metrics.scala

MetricsGroup

class MetricsGroup extends AnyRef

A helper class for creating and registering metrics.

Linear Supertypes
AnyRef, Any
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. Hide All
  2. Show all
  1. MetricsGroup
  2. AnyRef
  3. Any
Visibility
  1. Public
  2. All

Instance Constructors

  1. new MetricsGroup (klass: Class[_], metricsRegistry: MetricsRegistry)

Value Members

  1. def != (arg0: AnyRef): Boolean

    Attributes
    final
    Definition Classes
    AnyRef
  2. def != (arg0: Any): Boolean

    Attributes
    final
    Definition Classes
    Any
  3. def ## (): Int

    Attributes
    final
    Definition Classes
    AnyRef → Any
  4. def == (arg0: AnyRef): Boolean

    Attributes
    final
    Definition Classes
    AnyRef
  5. def == (arg0: Any): Boolean

    Attributes
    final
    Definition Classes
    Any
  6. def asInstanceOf [T0] : T0

    Attributes
    final
    Definition Classes
    Any
  7. def clone (): AnyRef

    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws()
  8. def counter (name: String, scope: String = null, registry: MetricsRegistry = metricsRegistry): Counter

    Creates a new counter metric.

    Creates a new counter metric.

    name

    the name of the counter

    scope

    the scope of the gauge

    registry

    the registry for the gauge

  9. def eq (arg0: AnyRef): Boolean

    Attributes
    final
    Definition Classes
    AnyRef
  10. def equals (arg0: Any): Boolean

    Definition Classes
    AnyRef → Any
  11. def finalize (): Unit

    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws()
  12. def gauge [A] (name: String, scope: String = null, registry: MetricsRegistry = metricsRegistry)(f: ⇒ A): Gauge[A]

    Registers a new gauge metric.

    Registers a new gauge metric.

    name

    the name of the gauge

    scope

    the scope of the gauge

    registry

    the registry for the gauge

  13. def getClass (): java.lang.Class[_]

    Attributes
    final
    Definition Classes
    AnyRef → Any
  14. def hashCode (): Int

    Definition Classes
    AnyRef → Any
  15. def histogram (name: String, scope: String = null, biased: Boolean = false, registry: MetricsRegistry = metricsRegistry): Histogram

    Creates a new histogram metrics.

    Creates a new histogram metrics.

    name

    the name of the histogram

    scope

    the scope of the histogram

    biased

    whether or not to use a biased sample

    registry

    the registry for the gauge

  16. def isInstanceOf [T0] : Boolean

    Attributes
    final
    Definition Classes
    Any
  17. val klass : Class[_]

  18. def meter (name: String, eventType: String, scope: String = null, unit: TimeUnit = TimeUnit.SECONDS, registry: MetricsRegistry = metricsRegistry): Meter

    Creates a new meter metric.

    Creates a new meter metric.

    name

    the name of the meter

    eventType

    the plural name of the type of events the meter is measuring (e.g., "requests")

    scope

    the scope of the meter

    unit

    the time unit of the meter

    registry

    the registry for the gauge

  19. val metricsRegistry : MetricsRegistry

  20. def ne (arg0: AnyRef): Boolean

    Attributes
    final
    Definition Classes
    AnyRef
  21. def notify (): Unit

    Attributes
    final
    Definition Classes
    AnyRef
  22. def notifyAll (): Unit

    Attributes
    final
    Definition Classes
    AnyRef
  23. def synchronized [T0] (arg0: ⇒ T0): T0

    Attributes
    final
    Definition Classes
    AnyRef
  24. def timer (name: String, scope: String = null, durationUnit: TimeUnit = TimeUnit.MILLISECONDS, rateUnit: TimeUnit = TimeUnit.SECONDS, registry: MetricsRegistry = metricsRegistry): Timer

    Creates a new timer metric.

    Creates a new timer metric.

    name

    the name of the timer

    scope

    the scope of the timer

    durationUnit

    the time unit for measuring duration

    rateUnit

    the time unit for measuring rate

    registry

    the registry for the gauge

  25. def toString (): String

    Definition Classes
    AnyRef → Any
  26. def wait (): Unit

    Attributes
    final
    Definition Classes
    AnyRef
    Annotations
    @throws()
  27. def wait (arg0: Long, arg1: Int): Unit

    Attributes
    final
    Definition Classes
    AnyRef
    Annotations
    @throws()
  28. def wait (arg0: Long): Unit

    Attributes
    final
    Definition Classes
    AnyRef
    Annotations
    @throws()

Inherited from AnyRef

Inherited from Any