|
| | TracerProvider (std::unique_ptr< SpanProcessor > processor, const opentelemetry::sdk::resource::Resource &resource=opentelemetry::sdk::resource::Resource::Create({}), std::unique_ptr< Sampler > sampler=std::unique_ptr< AlwaysOnSampler >(new AlwaysOnSampler), std::unique_ptr< IdGenerator > id_generator=std::unique_ptr< IdGenerator >(new RandomIdGenerator()), std::unique_ptr< instrumentationscope::ScopeConfigurator< TracerConfig >> tracer_configurator=std::make_unique< instrumentationscope::ScopeConfigurator< TracerConfig >>(instrumentationscope::ScopeConfigurator< TracerConfig >::Builder(TracerConfig::Default()) .Build())) noexcept |
| | Initialize a new tracer provider with a specified sampler. More...
|
| |
| | TracerProvider (std::vector< std::unique_ptr< SpanProcessor >> &&processors, const opentelemetry::sdk::resource::Resource &resource=opentelemetry::sdk::resource::Resource::Create({}), std::unique_ptr< Sampler > sampler=std::unique_ptr< AlwaysOnSampler >(new AlwaysOnSampler), std::unique_ptr< IdGenerator > id_generator=std::unique_ptr< IdGenerator >(new RandomIdGenerator()), std::unique_ptr< instrumentationscope::ScopeConfigurator< TracerConfig >> tracer_configurator=std::make_unique< instrumentationscope::ScopeConfigurator< TracerConfig >>(instrumentationscope::ScopeConfigurator< TracerConfig >::Builder(TracerConfig::Default()) .Build())) noexcept |
| |
| | TracerProvider (std::unique_ptr< TracerContext > context) noexcept |
| | Initialize a new tracer provider with a specified context. More...
|
| |
| | ~TracerProvider () override |
| |
| opentelemetry::nostd::shared_ptr< opentelemetry::trace::Tracer > | GetTracer (nostd::string_view name, nostd::string_view version="", nostd::string_view schema_url="") noexcept override |
| |
| void | AddProcessor (std::unique_ptr< SpanProcessor > processor) noexcept |
| | Attaches a span processor to list of configured processors for this tracer provider. More...
|
| |
| const opentelemetry::sdk::resource::Resource & | GetResource () const noexcept |
| | Obtain the resource associated with this tracer provider. More...
|
| |
| bool | Shutdown (std::chrono::microseconds timeout=(std::chrono::microseconds::max)()) noexcept |
| | Shutdown the span processor associated with this tracer provider. More...
|
| |
| bool | ForceFlush (std::chrono::microseconds timeout=(std::chrono::microseconds::max)()) noexcept |
| | Force flush the span processor associated with this tracer provider. More...
|
| |
| | TracerProvider (std::unique_ptr< SpanProcessor > processor, const opentelemetry::sdk::resource::Resource &resource=opentelemetry::sdk::resource::Resource::Create({}), std::unique_ptr< Sampler > sampler=std::unique_ptr< AlwaysOnSampler >(new AlwaysOnSampler), std::unique_ptr< IdGenerator > id_generator=std::unique_ptr< IdGenerator >(new RandomIdGenerator()), std::unique_ptr< instrumentationscope::ScopeConfigurator< TracerConfig >> tracer_configurator=std::make_unique< instrumentationscope::ScopeConfigurator< TracerConfig >>(instrumentationscope::ScopeConfigurator< TracerConfig >::Builder(TracerConfig::Default()) .Build())) noexcept |
| | Initialize a new tracer provider with a specified sampler. More...
|
| |
| | TracerProvider (std::vector< std::unique_ptr< SpanProcessor >> &&processors, const opentelemetry::sdk::resource::Resource &resource=opentelemetry::sdk::resource::Resource::Create({}), std::unique_ptr< Sampler > sampler=std::unique_ptr< AlwaysOnSampler >(new AlwaysOnSampler), std::unique_ptr< IdGenerator > id_generator=std::unique_ptr< IdGenerator >(new RandomIdGenerator()), std::unique_ptr< instrumentationscope::ScopeConfigurator< TracerConfig >> tracer_configurator=std::make_unique< instrumentationscope::ScopeConfigurator< TracerConfig >>(instrumentationscope::ScopeConfigurator< TracerConfig >::Builder(TracerConfig::Default()) .Build())) noexcept |
| |
| | TracerProvider (std::unique_ptr< TracerContext > context) noexcept |
| | Initialize a new tracer provider with a specified context. More...
|
| |
| | ~TracerProvider () override |
| |
| opentelemetry::nostd::shared_ptr< opentelemetry::trace::Tracer > | GetTracer (nostd::string_view name, nostd::string_view version="", nostd::string_view schema_url="") noexcept override |
| |
| void | AddProcessor (std::unique_ptr< SpanProcessor > processor) noexcept |
| | Attaches a span processor to list of configured processors for this tracer provider. More...
|
| |
| const opentelemetry::sdk::resource::Resource & | GetResource () const noexcept |
| | Obtain the resource associated with this tracer provider. More...
|
| |
| bool | Shutdown (std::chrono::microseconds timeout=(std::chrono::microseconds::max)()) noexcept |
| | Shutdown the span processor associated with this tracer provider. More...
|
| |
| bool | ForceFlush (std::chrono::microseconds timeout=(std::chrono::microseconds::max)()) noexcept |
| | Force flush the span processor associated with this tracer provider. More...
|
| |