Class NoopTracerProvider

Inheritance Relationships

Base Type

Class Documentation

class NoopTracerProvider : public opentelemetry::trace::TracerProvider

No-op implementation of a TracerProvider.

Public Functions

inline NoopTracerProvider() noexcept
inline virtual nostd::shared_ptr<trace::Tracer> GetTracer(nostd::string_view, nostd::string_view, nostd::string_view) noexcept override

Gets or creates a named tracer instance.

Optionally a version can be passed to create a named and versioned tracer instance.