Attributes
- Companion
- class
- Source
- OutcomeRecorder.scala
- Graph
-
- Supertypes
- Self type
-
OutcomeRecorder.type
Members list
Type members
Classlikes
Attributes
- Source
- OutcomeRecorder.scala
- Supertypes
Attributes
- Source
- OutcomeRecorder.scala
- Supertypes
Attributes
- Source
- OutcomeRecorder.scala
- Supertypes
Attributes
- Source
- OutcomeRecorder.scala
- Supertypes
Attributes
- Companion
- trait
- Source
- OutcomeRecorder.scala
- Supertypes
- Self type
-
Status.type
Value members
Concrete methods
Create an OutcomeRecorder from a Counter instance, where its labels type is a tuple of the original labels of the counter and Status.
Create an OutcomeRecorder from a Counter instance, where its labels type is a tuple of the original labels of the counter and Status.
This works by incrementing a counter with a label value that corresponds to the value Status on each invocation.
The best way to construct a counter based OutcomeRecorder is to use the .asOutcomeRecorder
on the counter DSL provided by MetricFactory.
Attributes
- Returns
-
an OutcomeRecorder.Aux that is annotated with the type of underlying metric, in this case Counter
- Source
- OutcomeRecorder.scala
Create an OutcomeRecorder from a Gauge instance, where its only label type is a tuple of the original labels of the counter and Status.
Create an OutcomeRecorder from a Gauge instance, where its only label type is a tuple of the original labels of the counter and Status.
This works by setting gauge with a label value that corresponds to the value of Status to 1
on each invocation, while the other statuses are set to 0
.
The best way to construct a gauge based OutcomeRecorder is to use the .asOutcomeRecorder
on the gauge DSL provided by MetricFactory.
Attributes
- Returns
-
an OutcomeRecorder.Aux that is annotated with the type of underlying metric, in this case Gauge
- Source
- OutcomeRecorder.scala
Implicits
Implicits
Attributes
- Source
- OutcomeRecorder.scala
Attributes
- Source
- OutcomeRecorder.scala
Attributes
- Source
- OutcomeRecorder.scala
Attributes
- Source
- OutcomeRecorder.scala
Attributes
- Source
- OutcomeRecorder.scala