object Metric
- Alphabetic
- By Inheritance
- Metric
- AnyRef
- Any
- Hide All
- Show All
- Public
- All
Type Members
Value Members
-
final
def
!=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
##(): Int
- Definition Classes
- AnyRef → Any
-
final
def
==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- val Delimiter: Char
- val DelimiterAsString: String
-
final
def
asInstanceOf[T0]: T0
- Definition Classes
- Any
-
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.
-
def
clone(): AnyRef
- Attributes
- protected[java.lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
def
equals(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
def
finalize(): Unit
- Attributes
- protected[java.lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( classOf[java.lang.Throwable] )
-
final
def
getClass(): Class[_]
- Definition Classes
- AnyRef → Any
-
def
hashCode(): Int
- Definition Classes
- AnyRef → Any
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
-
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].
-
final
def
ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
final
def
notify(): Unit
- Definition Classes
- AnyRef
-
final
def
notifyAll(): Unit
- Definition Classes
- AnyRef
-
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.
-
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.
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
- Definition Classes
- AnyRef
-
def
toString(): String
- Definition Classes
- AnyRef → Any
-
final
def
wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
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.
-
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.
-
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.
-
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.
-
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
-
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.
-
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.