Attributes
- Companion
- class
- Source
- Timer.scala
- Graph
-
- Supertypes
- Self type
-
Timer.type
Members list
Type members
Classlikes
Attributes
- Source
- Timer.scala
- Supertypes
Attributes
- Source
- Timer.scala
- Supertypes
Attributes
- Source
- Timer.scala
- Supertypes
- Known subtypes
-
Attributes
- Source
- Timer.scala
- Supertypes
- Known subtypes
-
class ExemplarTimerSyntax[F]
Value members
Concrete methods
Create a Timer from a Gauge instance.
This delegates to the underlying Gauge instance which will only ever show the last value for duration of the given operation.
Values are recorded in scala.Doubles by converting a scala.concurrent.duration.FiniteDuration to seconds.
The best way to construct a gauge based Timer is to use the .asTimer
on the histogram DSL provided by MetricFactory.
Attributes
- Returns
-
a Timer.Aux that is annotated with the type of underlying metrics, in this case Gauge
- Source
- Timer.scala
Create a Timer from a Histogram instance.
This delegates to the underlying Histogram instance and assumes you have already set up sensible buckets for the distribution of values.
Values are recorded in scala.Doubles by converting a scala.concurrent.duration.FiniteDuration to seconds.
The best way to construct a histogram based Timer is to use the .asTimer
on the histogram DSL provided by MetricFactory.
Attributes
- Returns
-
a Timer.Aux that is annotated with the type of underlying metrics, in this case Histogram
- Source
- Timer.scala
Create a Timer from a Summary instance.
This delegates to the underlying Summary instance and assumes you have already set up sensible buckets for the distribution of values.
Values are recorded in scala.Doubles by converting a scala.concurrent.duration.FiniteDuration to seconds.
The best way to construct a histogram based Timer is to use the .asTimer
on the summary DSL provided by MetricFactory.
Attributes
- Returns
-
a Timer.Aux that is annotated with the type of underlying metrics, in this case Summary
- Source
- Timer.scala
Implicits
Implicits
Attributes
- Source
- Timer.scala
Attributes
- Source
- Timer.scala
Attributes
- Source
- Timer.scala
Attributes
- Source
- Timer.scala
Attributes
- Source
- Timer.scala