- Companion:
- class
- Source:
- CurrentTimeRecorder.scala
Type members
Classlikes
A derived metric type that sets an underlying Gauge.Labelled to the current system time.
A derived metric type that sets an underlying Gauge.Labelled to the current system time.
- Companion:
- object
- Source:
- CurrentTimeRecorder.scala
Value members
Concrete methods
Create a CurrentTimeRecorder from a Gauge that records scala.Double values
Create a CurrentTimeRecorder from a Gauge 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 instance to set the current time value against
- Source:
- CurrentTimeRecorder.scala
Create a CurrentTimeRecorder from a Gauge that records scala.Long values
Create a CurrentTimeRecorder from a Gauge 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 instance to set the current time value against
- Source:
- CurrentTimeRecorder.scala