Module otel_meter_default

Behaviours: gen_server, otel_meter.

Function Index

bind/3
handle_call/3
handle_cast/2
init/1
lookup_instrument/1
new_instrument/4
new_instruments/2returns true if any instrument in the list is successfully created.
observe/3
observer_tab/0
record/3
record/4
record_batch/3
register_observer/3
release/2
set_observer_callback/3
start_link/1

Function Details

bind/3

bind(Meter::opentelemetry:meter(), Instrument::instrument() | otel_meter:name(), LabelSet::otel_meter:labels()) -> bound_instrument()

handle_call/3

handle_call(X1, From, State) -> any()

handle_cast/2

handle_cast(Msg, State) -> any()

init/1

init(Opts) -> any()

lookup_instrument/1

lookup_instrument(Name::otel_meter:name()) -> instrument() | unknown_instrument

new_instrument/4

new_instrument(Meter::opentelemetry:meter(), Name::otel_meter:name(), InstrumentKind::otel_meter:instrument_kind(), Opts::otel_meter:instrument_opts()) -> boolean()

new_instruments/2

new_instruments(Meter::opentelemetry:meter(), List::[otel_meter:instrument_opts()]) -> boolean()

returns true if any instrument in the list is successfully created

observe/3

observe(ObserverInstrument::instrument(), Number::number(), LabelSet::otel_meter:labels()) -> ok

observer_tab/0

observer_tab() -> any()

record/3

record(Meter::opentelemetry:meter(), BoundInstrument::bound_instrument(), Number::number()) -> ok

record/4

record(Meter::opentelemetry:meter(), Name::otel_meter:name(), LabelSet::otel_meter:labels(), Number::number()) -> ok

record_batch/3

record_batch(Meter::opentelemetry:meter(), Measures::[{otel_meter:name(), number()}], LabelSet::otel_meter:labels()) -> ok

register_observer/3

register_observer(Meter::opentelemetry:meter(), Name::otel_meter:name(), Callback::otel_observer:callback()) -> ok

release/2

release(Meter::opentelemetry:meter(), BoundInstrument::bound_instrument()) -> ok

set_observer_callback/3

set_observer_callback(Meter::opentelemetry:meter(), Name::otel_meter:name(), Callback::otel_observer:callback()) -> ok | unknown_instrument

start_link/1

start_link(Opts) -> any()


Generated by EDoc