Class TracerContextFactory
Defined in File tracer_context_factory.h
Class Documentation
-
class TracerContextFactory
Factory class for TracerContext.
Public Static Functions
-
static std::unique_ptr<TracerContext> Create(std::vector<std::unique_ptr<SpanProcessor>> &&processors)
Create a TracerContext.
-
static std::unique_ptr<TracerContext> Create(std::vector<std::unique_ptr<SpanProcessor>> &&processors, const opentelemetry::sdk::resource::Resource &resource)
Create a TracerContext.
-
static std::unique_ptr<TracerContext> Create(std::vector<std::unique_ptr<SpanProcessor>> &&processors, const opentelemetry::sdk::resource::Resource &resource, std::unique_ptr<Sampler> sampler)
Create a TracerContext.
-
static std::unique_ptr<TracerContext> 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)
Create a TracerContext.
-
static std::unique_ptr<TracerContext> Create(std::vector<std::unique_ptr<SpanProcessor>> &&processors)