Labelled

object Labelled
class Object
trait Matchable
class Any

Value members

Concrete methods

def fromDoubleGauge[F[_] : Clock, A](gauge: Labelled[F, Double, A])(f: FiniteDuration => Double): Labelled[F, A]

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
def fromLongGauge[F[_] : Clock, A](gauge: Labelled[F, Long, A])(f: FiniteDuration => Long): Labelled[F, A]

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

Implicits

Implicits