advisory_params() = #{explicit_bucket_boundaries => [number(), ...]}
callback() = fun((callback_args()) -> callback_result())
callback_args() = term()
callback_result() = [observation()] | [named_observations()]
description() = unicode:unicode_binary()
kind() = '?KIND_COUNTER' | '?KIND_OBSERVABLE_COUNTER' | '?KIND_HISTOGRAM' | '?KIND_OBSERVABLE_GAUGE' | '?KIND_UPDOWN_COUNTER' | '?KIND_OBSERVABLE_UPDOWNCOUNTER'
name() = atom()
named_observations() = {name(), [observation()]}
observation() = {number(), opentelemetry:attributes_map()}
opts() = #{description => description(), unit => unit(), advisory_params => advisory_params()}
t() = #instrument{}
temporality() = '?TEMPORALITY_DELTA' | '?TEMPORALITY_CUMULATIVE'
unit() = atom()
latin1, maximum length of 63 characters
is_monotonic/1 | |
kind_temporality/1 | |
new/5 | |
new/7 | |
temporality/1 |
is_monotonic(Instrument) -> any()
kind_temporality(X1) -> any()
new(Module::module(), Meter::otel_meter:t(), Kind::kind(), Name::name(), Opts::opts()) -> t()
new(Module::module(), Meter::otel_meter:t(), Kind::kind(), Name::name(), Callback::callback(), CallbackArgs::callback_args(), Opts::opts()) -> t()
temporality(Instrument) -> any()
Generated by EDoc