object Metrics
Expose cuttle metrics via the prometheus protocol.
- Alphabetic
- By Inheritance
- Metrics
- AnyRef
- Any
- Hide All
- Show All
- Public
- All
Type Members
-
case class
Counter[T](name: String, help: String = "", labels2Value: Map[Set[(String, String)], AnyVal] = Map.empty)(implicit number: Numeric[T]) extends Metric with Product with Serializable
A Counter contains a value that can only be incremented.
A Counter contains a value that can only be incremented. Increments are not threadsafe.
- name
The metric name.
- help
Metric description if provided.
- labels2Value
map of (label name, label value) pairs to counter values
-
case class
Gauge(name: String, help: String = "", labels2Value: Map[Set[(String, String)], AnyVal] = Map.empty) extends Metric with Product with Serializable
A Gauge metric represents a single numerical value that can arbitrarily go up and down.
A Gauge metric represents a single numerical value that can arbitrarily go up and down.
- name
The metric name.
- help
Metric description if provided.
- labels2Value
map of (label name, label value) pairs to the current gauge values
-
sealed
trait
Metric extends AnyRef
A metric to be exposed.
-
trait
MetricProvider[S <: Scheduling] extends AnyRef
Components able to provide metrics.
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
-
final
def
asInstanceOf[T0]: T0
- Definition Classes
- Any
-
def
clone(): AnyRef
- Attributes
- protected[java.lang]
- Definition Classes
- AnyRef
- Annotations
- @native() @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
- Annotations
- @native()
-
def
hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
-
final
def
ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
final
def
notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
-
final
def
notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
-
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
- @native() @throws( ... )
- object MetricType extends Enumeration