org.typelevel.otel4s.metrics.Counter.Builder
Type parameters
-
A
-
the type of the values to record. The type must have an instance of MeasurementValue. scala.Long and scala.Double are supported out of the box.
-
F
-
the higher-kinded type of a polymorphic effect
Attributes
-
Source
-
Counter.scala
-
Graph
-
-
Supertypes
-
trait Matchable
class Any
Members list
Creates a Counter with the given unit
and description
(if any).
Sets the description for this counter.
Sets the description for this counter.
Value parameters
-
description
-
the description
Attributes
-
See also
-
-
Source
-
Counter.scala
Sets the unit of measure for this counter.
Sets the unit of measure for this counter.
Value parameters
-
unit
-
the measurement unit. Must be 63 or fewer ASCII characters.
Attributes
-
See also
-
-
Source
-
Counter.scala