otel_tracer_provider behaviour (opentelemetry_api v1.0.0-rc.2)

Link to this section Summary

Link to this section Functions

Link to this function

code_change(OldVsn, State, Extra)

Link to this function

handle_call(Msg, From, State)

Link to this function

handle_cast(Msg, State)

Link to this function

register_application_tracer(Name)

Specs

register_application_tracer(atom()) -> boolean().
Link to this function

register_tracer(Name, Vsn)

Specs

register_tracer(atom(), string()) -> boolean().

Specs

resource() -> term() | undefined.
Link to this function

start_link(ProviderModule, Opts)

Link to this section Callbacks

Specs

init(term()) -> {ok, cb_state()}.
Link to this callback

register_tracer/3

Specs

register_tracer(atom(), string(), cb_state()) -> boolean().

Specs

resource(cb_state()) -> term() | undefined.