DoubleBackend

org.typelevel.otel4s.metrics.UpDownCounter.DoubleBackend
trait DoubleBackend[F[_]] extends Backend[F, Double]

Attributes

Source
UpDownCounter.scala
Graph
Supertypes
trait Backend[F, Double]
class Object
trait Matchable
class Any

Members list

Value members

Concrete methods

final def dec(attributes: Iterable[Attribute[_]]): F[Unit]

Decrements a counter by one.

Decrements a counter by one.

Value parameters

attributes

the set of attributes to associate with the value

Attributes

Source
UpDownCounter.scala
final def inc(attributes: Iterable[Attribute[_]]): F[Unit]

Increments a counter by one.

Increments a counter by one.

Value parameters

attributes

the set of attributes to associate with the value

Attributes

Source
UpDownCounter.scala

Inherited methods

def add(value: Double, attributes: Iterable[Attribute[_]]): F[Unit]

Records a value with a set of attributes.

Records a value with a set of attributes.

Value parameters

attributes

the set of attributes to associate with the value

value

the value to add to the counter

Attributes

Inherited from:
Backend
Source
UpDownCounter.scala

Attributes

Inherited from:
Backend
Source
UpDownCounter.scala