View Source otel_tracer_provider (opentelemetry_api v1.0.2)
gen_server that handles the API's calls. The SDK should register a TracerProvider with the name otel_tracer_provider which is used as the default global Provider.
Link to this section Summary
Link to this section Functions
Specs
force_flush() -> ok | {error, term()} | timeout.
Specs
force_flush(atom() | pid()) -> ok | {error, term()} | timeout.
Specs
get_tracer(Name, Vsn, SchemaUrl) -> Tracer
when
Name :: atom(),
Vsn :: unicode:chardata() | undefined,
SchemaUrl :: uri_string:uri_string() | undefined,
Tracer :: opentelemetry:tracer().
Specs
resource() -> term() | undefined.
Specs
resource(atom() | pid()) -> term() | undefined.