|
|
NVIDIA DeepStream SDK API Reference
|
9.2 Release
|
Go to the documentation of this file.
9 #include "opentelemetry/baggage/baggage.h"
10 #include "opentelemetry/baggage/baggage_context.h"
11 #include "opentelemetry/context/context.h"
12 #include "opentelemetry/context/propagation/text_map_propagator.h"
13 #include "opentelemetry/nostd/function_ref.h"
14 #include "opentelemetry/nostd/string_view.h"
15 #include "opentelemetry/version.h"
30 auto header =
baggage->ToHeader();
nostd::shared_ptr< Baggage > GetBaggage(const context::Context &context) noexcept
void Inject(context::propagation::TextMapCarrier &carrier, const context::Context &context) noexcept override
context::Context Extract(const context::propagation::TextMapCarrier &carrier, context::Context &context) noexcept override
#define OPENTELEMETRY_BEGIN_NAMESPACE
context::Context SetBaggage(context::Context &context, const nostd::shared_ptr< Baggage > &baggage) noexcept
static const std::string kBaggageHeader
#define OPENTELEMETRY_END_NAMESPACE
static nostd::shared_ptr< Baggage > FromHeader(nostd::string_view header) noexcept
bool Fields(nostd::function_ref< bool(nostd::string_view)> callback) const noexcept override
Back port of std::string_view to work with pre-cpp-17 compilers.