Class NoopTracer
Defined in File noop.h
Inheritance Relationships
Base Types
public opentelemetry::trace::Tracer
(Class Tracer)public std::enable_shared_from_this< NoopTracer >
Class Documentation
-
class NoopTracer : public opentelemetry::trace::Tracer, public std::enable_shared_from_this<NoopTracer>
No-op implementation of Tracer.
Public Functions
-
inline virtual nostd::shared_ptr<Span> StartSpan(nostd::string_view, const common::KeyValueIterable&, const SpanContextKeyValueIterable&, const StartSpanOptions&) noexcept override
Starts a span.
Optionally sets attributes at Span creation from the given key/value pairs.
Attributes will be processed in order, previous attributes with the same key will be overwritten.
-
inline virtual void ForceFlushWithMicroseconds(uint64_t) noexcept override
-
inline virtual void CloseWithMicroseconds(uint64_t) noexcept override
-
inline virtual nostd::shared_ptr<Span> StartSpan(nostd::string_view, const common::KeyValueIterable&, const SpanContextKeyValueIterable&, const StartSpanOptions&) noexcept override