Behaviours: gen_server, otel_meter.
bind/3 | |
handle_call/3 | |
handle_cast/2 | |
init/1 | |
lookup_instrument/1 | |
new_instrument/4 | |
new_instruments/2 | returns 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 |
bind(Meter::opentelemetry:meter(), Instrument::instrument() | otel_meter:name(), LabelSet::otel_meter:labels()) -> bound_instrument()
handle_call(X1, From, State) -> any()
handle_cast(Msg, State) -> any()
init(Opts) -> any()
lookup_instrument(Name::otel_meter:name()) -> instrument() | unknown_instrument
new_instrument(Meter::opentelemetry:meter(), Name::otel_meter:name(), InstrumentKind::otel_meter:instrument_kind(), Opts::otel_meter:instrument_opts()) -> boolean()
new_instruments(Meter::opentelemetry:meter(), List::[otel_meter:instrument_opts()]) -> boolean()
returns true
if any instrument in the list is successfully created
observe(ObserverInstrument::instrument(), Number::number(), LabelSet::otel_meter:labels()) -> ok
observer_tab() -> any()
record(Meter::opentelemetry:meter(), BoundInstrument::bound_instrument(), Number::number()) -> ok
record(Meter::opentelemetry:meter(), Name::otel_meter:name(), LabelSet::otel_meter:labels(), Number::number()) -> ok
record_batch(Meter::opentelemetry:meter(), Measures::[{otel_meter:name(), number()}], LabelSet::otel_meter:labels()) -> ok
register_observer(Meter::opentelemetry:meter(), Name::otel_meter:name(), Callback::otel_observer:callback()) -> ok
release(Meter::opentelemetry:meter(), BoundInstrument::bound_instrument()) -> ok
set_observer_callback(Meter::opentelemetry:meter(), Name::otel_meter:name(), Callback::otel_observer:callback()) -> ok | unknown_instrument
start_link(Opts) -> any()
Generated by EDoc