Module otel_counter

Counter is a synchronous Instrument which supports non-negative increments.

Description

Counter is a synchronous Instrument which supports non-negative increments.

Function Index

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

Function Details

add/3

add(Ctx::otel_ctx:t(), Instrument::otel_instrument:t(), Number::pos_integer() | float()) -> ok

add/4

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

add/5

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

create/3

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


Generated by EDoc