- Companion:
- class
- Source:
- CurrentTimeRecorder.scala
Value members
Concrete methods
Create a CurrentTimeRecorder from a Gauge.Labelled that records scala.Double values
Create a CurrentTimeRecorder from a Gauge.Labelled that records scala.Double values
The best way to construct a CurrentTimeRecorder is to use the asCurrentTimeRecorder
on the gauge DSL
provided by MetricFactory
- Value parameters:
- f
a function to go from the current time represented in scala.concurrent.duration.FiniteDuration as a scala.Double
- gauge
the Gauge.Labelled instance to set the current time value against
- Source:
- CurrentTimeRecorder.scala
Create a CurrentTimeRecorder from a Gauge.Labelled that records scala.Long values
Create a CurrentTimeRecorder from a Gauge.Labelled that records scala.Long values
The best way to construct a CurrentTimeRecorder is to use the asCurrentTimeRecorder
on the gauge DSL
provided by MetricFactory
- Value parameters:
- f
a function to go from the current time represented in scala.concurrent.duration.FiniteDuration as a scala.Long
- gauge
the Gauge.Labelled instance to set the current time value against
- Source:
- CurrentTimeRecorder.scala