Class TracerProviderFactory

Class Documentation

class TracerProviderFactory

Factory class for TracerProvider. See TracerProvider.

Public Static Functions

static std::unique_ptr<opentelemetry::sdk::trace::TracerProvider> Create(std::unique_ptr<SpanProcessor> processor)
static std::unique_ptr<opentelemetry::sdk::trace::TracerProvider> Create(std::unique_ptr<SpanProcessor> processor, const opentelemetry::sdk::resource::Resource &resource)
static std::unique_ptr<opentelemetry::sdk::trace::TracerProvider> Create(std::unique_ptr<SpanProcessor> processor, const opentelemetry::sdk::resource::Resource &resource, std::unique_ptr<Sampler> sampler)
static std::unique_ptr<opentelemetry::sdk::trace::TracerProvider> Create(std::unique_ptr<SpanProcessor> processor, const opentelemetry::sdk::resource::Resource &resource, std::unique_ptr<Sampler> sampler, std::unique_ptr<IdGenerator> id_generator)
static std::unique_ptr<opentelemetry::sdk::trace::TracerProvider> Create(std::vector<std::unique_ptr<SpanProcessor>> &&processors)
static std::unique_ptr<opentelemetry::sdk::trace::TracerProvider> Create(std::vector<std::unique_ptr<SpanProcessor>> &&processors, const opentelemetry::sdk::resource::Resource &resource)
static std::unique_ptr<opentelemetry::sdk::trace::TracerProvider> Create(std::vector<std::unique_ptr<SpanProcessor>> &&processors, const opentelemetry::sdk::resource::Resource &resource, std::unique_ptr<Sampler> sampler)
static std::unique_ptr<opentelemetry::sdk::trace::TracerProvider> Create(std::vector<std::unique_ptr<SpanProcessor>> &&processors, const opentelemetry::sdk::resource::Resource &resource, std::unique_ptr<Sampler> sampler, std::unique_ptr<IdGenerator> id_generator)
static std::unique_ptr<opentelemetry::sdk::trace::TracerProvider> Create(std::unique_ptr<TracerContext> context)