Module otel_updown_counter

UpDownCounter is a synchronous Instrument which supports increments and decrements.

Description

UpDownCounter is a synchronous Instrument which supports increments and decrements.

Function Index

add/3
add/4
add/5
create/3

Function Details

add/3

add(Ctx::otel_ctx:t(), Instrument::otel_instrument:t(), Number::number()) -> ok

add/4

add(Ctx::otel_ctx:t(), Instrument::otel_meter:t() | otel_instrument:t(), Number::otel_instrument:name() | number(), Attributes::number() | opentelemetry:attributes_map()) -> ok

add/5

add(Ctx::otel_ctx:t(), Meter::otel_meter:t(), Name::otel_instrument:name(), Number::number(), Attributes::opentelemetry:attributes_map()) -> ok

create/3

create(Meter, Name, Opts) -> otel_instrument:t()


Generated by EDoc