object Metric

Linear Supertypes
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. Metric
  2. AnyRef
  3. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Type Members

  1. type Count = Long

    A typedef for Long to be used when representing counts.

  2. class MetricWriter [T <: Metric] extends Closeable

    A class that provides streaming writing capability for metrics.

  3. type Proportion = Double

    A typedef for Double to be used when representing values between 0 and 1.

Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  4. val Delimiter: Char
  5. val DelimiterAsString: String
  6. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  7. def build[T <: Metric](args: Seq[(String, String)])(implicit tt: scala.reflect.api.JavaUniverse.TypeTag[T]): T

    Construct a metric of the given type.

    Construct a metric of the given type. The arguments given should be a sequence of tuples: the name of the field and value as a string.

  8. def clone(): AnyRef
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  9. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  10. def equals(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  11. def finalize(): Unit
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  12. final def getClass(): Class[_]
    Definition Classes
    AnyRef → Any
  13. def hashCode(): Int
    Definition Classes
    AnyRef → Any
  14. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  15. def names[T <: Metric](implicit tt: scala.reflect.api.JavaUniverse.TypeTag[T]): Seq[String]

    Get the names of the arguments in the order they were defined for the type [T].

  16. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  17. final def notify(): Unit
    Definition Classes
    AnyRef
  18. final def notifyAll(): Unit
    Definition Classes
    AnyRef
  19. def read[T <: Metric](path: Path)(implicit tt: scala.reflect.api.JavaUniverse.TypeTag[T]): Seq[T]

    Reads metrics from the given path.

    Reads metrics from the given path. The first line should be the header with the field names. Each subsequent line should be a single metric.

  20. def read[T <: Metric](lines: Iterator[String], source: Option[String] = None)(implicit tt: scala.reflect.api.JavaUniverse.TypeTag[T]): Seq[T]

    Reads metrics from a set of lines.

    Reads metrics from a set of lines. The first line should be the header with the field names. Each subsequent line should be a single metric.

  21. final def synchronized[T0](arg0: ⇒ T0): T0
    Definition Classes
    AnyRef
  22. def toString(): String
    Definition Classes
    AnyRef → Any
  23. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  24. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  25. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  26. def write[T <: Metric](path: Path, metrics: TraversableOnce[T])(implicit tt: scala.reflect.api.JavaUniverse.TypeTag[T]): Unit

    Writes metrics to the given path.

    Writes metrics to the given path. The first line will be a header with the field names. Each subsequent line is a single metric.

  27. def write[T <: Metric](writer: java.io.Writer, metrics: TraversableOnce[T])(implicit tt: scala.reflect.api.JavaUniverse.TypeTag[T]): Unit

    Writes a metric to the given writer.

    Writes a metric to the given writer. The first line will be a header with the field names. Each subsequent line is a single metric.

  28. def write[T <: Metric](path: Path, metric: T*)(implicit tt: scala.reflect.api.JavaUniverse.TypeTag[T]): Unit

    Writes one or more metrics to the given path.

    Writes one or more metrics to the given path. The first line will be a header with the field names. Each subsequent line is a single metric.

  29. def write[T <: Metric](writer: java.io.Writer, metric: T*)(implicit tt: scala.reflect.api.JavaUniverse.TypeTag[T]): Unit

    Writes one or more metrics to the given writer.

    Writes one or more metrics to the given writer. The first line will be a header with the field names. Each subsequent line is a single metric.

  30. def writer[T <: Metric](path: Path)(implicit tt: scala.reflect.api.JavaUniverse.TypeTag[T]): MetricWriter[T]

    Returns a MetricWriter that can be used to stream metrics out to a file.

Deprecated Value Members

  1. def write[T <: Metric](metrics: Seq[T], path: Path)(implicit tt: scala.reflect.api.JavaUniverse.TypeTag[T]): Unit

    Writes metrics to the given path.

    Writes metrics to the given path. The first line will be a header with the field names. Each subsequent line is a single metric.

    Annotations
    @deprecated
    Deprecated

    (Since version 2017-01-16) Use write[T <: Metric](path: Path, metric: T*): Unit instead.

  2. def write[T <: Metric](metrics: Seq[T], writer: java.io.Writer)(implicit tt: scala.reflect.api.JavaUniverse.TypeTag[T]): Unit

    Writes a metric to the given writer.

    Writes a metric to the given writer. The first line will be a header with the field names. Each subsequent line is a single metric.

    Annotations
    @deprecated
    Deprecated

    (Since version 2017-01-16) Use write[T <: Metric](writer: Writer, metric: T*): Unit instead.

Inherited from AnyRef

Inherited from Any

Ungrouped