otel_tracer_server (opentelemetry v1.6.0)

View Source

This module is the SDK's implementation of the TracerProvider. The calls to the server are done from the API module otel_tracer_provider. This gen_server is started as part of the SDK's supervision tree and registers itself as the default TracerProvider by using the name otel_tracer_provider as its name.

Summary

Types

instrumentation_scope/0

-type instrumentation_scope() ::
          #instrumentation_scope{name :: unicode:unicode_binary() | undefined,
                                 version :: unicode:unicode_binary() | undefined,
                                 schema_url :: uri_string:uri_string() | undefined}.

Functions

code_change(State)

handle_call(_, From, State)

handle_cast(_, State)

init(_)

start_link(Name, RegName, SpanProcessorSupRegName, Resource, Config)

-spec start_link(atom(), atom(), atom(), otel_resource:t(), otel_configuration:t()) ->
                    {ok, pid()} | ignore | {error, term()}.