zio.telemetry.opentelemetry.metrics.UpDownCounter
See theUpDownCounter companion object
A UpDownCounter instrument that records values of type A
Type parameters
- A
-
according to the specification, it can be either scala.Long or scala.Double type
Attributes
- Companion
-
object
- Source
-
UpDownCounter.scala
- Graph
-
- Supertypes
-
class Object
trait Matchable
class Any
Members list
Value parameters
- attributes
-
set of attributes to associate with the value
- value
-
increment amount. May be positive, negative or zero
Attributes
- Source
-
UpDownCounter.scala
Decrements a counter by one.
Value parameters
- attributes
-
set of attributes to associate with the value
Attributes
- Source
-
UpDownCounter.scala
Increments a counter by one.
Value parameters
- attributes
-
set of attributes to associate with the value
Attributes
- Source
-
UpDownCounter.scala