Class DefaultTracer

Inheritance Relationships

Base Type

Class Documentation

class opentelemetry::trace::DefaultTracer : public opentelemetry::trace::Tracer

Public Functions

~DefaultTracer() = default
inline nostd::unique_ptr< Span > StartSpan (nostd::string_view name, const common::KeyValueIterable &attributes, const StartSpanOptions &options={}) override noexcept

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 void ForceFlushWithMicroseconds (uint64_t timeout) override noexcept
inline void CloseWithMicroseconds (uint64_t timeout) override noexcept