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
init(_)
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().
Link to this function
resource()
Specs
resource() -> term() | undefined.
Link to this function
start_link(ProviderModule, Opts)
Link to this section Callbacks
Link to this callback
init/1
Specs
init(term()) -> {ok, cb_state()}.
Link to this callback
register_tracer/3
Specs
register_tracer(atom(), string(), cb_state()) -> boolean().
Link to this callback
resource/1
Specs
resource(cb_state()) -> term() | undefined.