NoopTimer

com.avast.datadog4s.noop.metric.NoopTimer
class NoopTimer[F[_]] extends Timer[F]

Attributes

Graph
Supertypes
trait Timer[F]
class Object
trait Matchable
class Any

Members list

Concise view

Value members

Concrete methods

override def record[T](duration: T, tags: Tag*)(using evidence$2: ElapsedTime[T]): F[Unit]

Record a value that implements com.avast.datadog4s.api.metric.ElapsedTime type class. By default we provide instance for java.time.Duration and scala.concurrent.duration.FiniteDuration.

Record a value that implements com.avast.datadog4s.api.metric.ElapsedTime type class. By default we provide instance for java.time.Duration and scala.concurrent.duration.FiniteDuration.

Attributes

tags

Tags that should be applied for this recording

value

Representation of duration that should be recorded

Definition Classes
override def time[A](f: F[A], tags: Tag*): F[A]

Attributes

Definition Classes

Inherited methods

def recordTime(elapsed: Long, timeUnit: TimeUnit, tags: Tag*): F[Unit]

Record raw measurement represented as long

Record raw measurement represented as long

Attributes

elapsed

Measured duration

tags

Tags that should be applied for this recording

timeUnit

TimeUnit in which duration is measured

Inherited from:
Timer