callback() = fun((callback_args()) -> observation() | [named_observation()])
callback_args() = term()
description() = unicode:unicode_binary()
kind() = '?KIND_COUNTER' | '?KIND_OBSERVABLE_COUNTER' | '?KIND_HISTOGRAM' | '?KIND_OBSERVABLE_GAUGE' | '?KIND_UPDOWN_COUNTER' | '?KIND_OBSERVABLE_UPDOWNCOUNTER'
name() = atom() | unicode:latin1_chardata()
named_observation() = {name(), number(), opentelemetry:attributes_map()}
observation() = {number(), opentelemetry:attributes_map()}
t() = #instrument{}
unit() = atom()
latin1, maximum length of 63 characters
value_type() = '?VALUE_TYPE_INTEGER' | '?VALUE_TYPE_FLOAT'
is_monotonic/1 | |
new/7 | |
new/9 |
is_monotonic(Instrument) -> any()
new(Module::module(), Meter::otel_meter:t(), Kind::kind(), Name::name(), Description::description(), Unit::unit(), ValueType::value_type()) -> t()
new(Module::module(), Meter::otel_meter:t(), Kind::kind(), Name::name(), Description::description(), Unit::unit(), ValueType::value_type(), Callback::callback(), CallbackArgs::term()) -> t()
Generated by EDoc