Class/Object

colossus.metrics

MetricSystem

Related Docs: object MetricSystem | package metrics

Permalink

class MetricSystem extends MetricNamespace

The MetricSystem provides the environment for creating metrics and is required to create collectors.

Linear Supertypes
MetricNamespace, AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. MetricSystem
  2. MetricNamespace
  3. AnyRef
  4. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Value Members

  1. final def !=(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  3. def *(tags: (String, String)*): MetricContext

    Permalink

    Add tags to context

    Add tags to context

    tags

    TagMap

    returns

    Returns a new context with supplied tags added

    Definition Classes
    MetricNamespace
  4. def /(subpath: MetricAddress): MetricContext

    Permalink

    Get a new namespace by appending subpath to the namespace

    Get a new namespace by appending subpath to the namespace

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

    Permalink
    Definition Classes
    AnyRef → Any
  6. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  7. def clone(): AnyRef

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  8. val collection: Collection

    Permalink
    Attributes
    protected
    Definition Classes
    MetricSystemMetricNamespace
  9. val collectionIntervals: Map[FiniteDuration, CollectionInterval]

    Permalink
  10. val config: MetricSystemConfig

    Permalink
  11. final def eq(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  12. def equals(arg0: Any): Boolean

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

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  14. final def getClass(): Class[_]

    Permalink
    Definition Classes
    AnyRef → Any
  15. def getOrAdd[T <: Collector](address: MetricAddress)(f: (MetricAddress, CollectorConfig) ⇒ T)(implicit arg0: ClassTag[T]): T

    Permalink

    Retrieve a Collector of a specific type by address, creating a new one if it does not exist.

    Retrieve a Collector of a specific type by address, creating a new one if it does not exist. If an existing collector of a different type already exists, a DuplicateMetricException will be thrown.

    T

    The Collector to be retrieved.

    address

    Address meant to be relative to this MetricNamespace's namespace

    f

    Function which takes in an absolutely pathed MetricAddress, and a CollectorConfig and returns an instance of a Collector

    returns

    A newly created instance of Collector, created by f or an existing Collector if one already exists with the same MetricAddress

    Definition Classes
    MetricNamespace
  16. def hashCode(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  17. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  18. val namespace: MetricAddress

    Permalink

    The root of this MetricNamespace.

    The root of this MetricNamespace. All Metrics added to this namespace will be made to be relative to this address.

    Definition Classes
    MetricSystemMetricNamespace
  19. final def ne(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  20. final def notify(): Unit

    Permalink
    Definition Classes
    AnyRef
  21. final def notifyAll(): Unit

    Permalink
    Definition Classes
    AnyRef
  22. final def synchronized[T0](arg0: ⇒ T0): T0

    Permalink
    Definition Classes
    AnyRef
  23. val tags: TagMap

    Permalink

    Tags applied to all collectors in this namespace

    Tags applied to all collectors in this namespace

    Definition Classes
    MetricSystemMetricNamespace
  24. def toString(): String

    Permalink
    Definition Classes
    AnyRef → Any
  25. final def wait(): Unit

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

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

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  28. def withTags(tags: (String, String)*): MetricContext

    Permalink
    Definition Classes
    MetricNamespace

Inherited from MetricNamespace

Inherited from AnyRef

Inherited from Any

Ungrouped