Class Provider¶
Defined in File provider.h
Class Documentation¶
-
class
opentelemetry::trace
::
Provider
¶ Stores the singleton global TracerProvider.
Public Static Functions
-
static inline nostd::shared_ptr<TracerProvider>
GetTracerProvider
() noexcept¶ Returns the singleton TracerProvider.
By default, a no-op TracerProvider is returned. This will never return a nullptr TracerProvider.
Changes the singleton TracerProvider.
-
static inline nostd::shared_ptr<TracerProvider>