Module otel_tracer_provider

This module defines the API for a TracerProvider.

Description

This module defines the API for a TracerProvider. A TracerProvider stores Tracer configuration and is how Tracers are accessed. An implementation must be a 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.

Function Index

force_flush/0
force_flush/1
get_tracer/3
resource/0
resource/1

Function Details

force_flush/0

force_flush() -> ok | {error, term()} | timeout

force_flush/1

force_flush(ServerRef::atom() | pid()) -> ok | {error, term()} | timeout

get_tracer/3

get_tracer(Name, Vsn, SchemaUrl) -> Tracer

resource/0

resource() -> term() | undefined

resource/1

resource(ServerRef::atom() | pid()) -> term() | undefined


Generated by EDoc