Class NoOpPropagator

Inheritance Relationships

Base Type

  • public opentelemetry::context::propagation::TextMapPropagator

Class Documentation

class NoOpPropagator : public opentelemetry::context::propagation::TextMapPropagator

No-op implementation TextMapPropagator

Public Functions

inline context::Context Extract(const TextMapCarrier&, context::Context &context) noexcept override

Noop extract function does nothing and returns the input context

inline void Inject(TextMapCarrier&, const context::Context&) noexcept override

Noop inject function does nothing

inline bool Fields(nostd::function_ref<bool(nostd::string_view)>) const noexcept override