Class Baggage
Defined in File baggage.h
Class Documentation
-
class Baggage
Public Functions
-
inline Baggage() noexcept
-
inline Baggage(size_t size) noexcept
-
inline bool GetValue(nostd::string_view key, std::string &value) const noexcept
-
inline nostd::shared_ptr<Baggage> Set(const nostd::string_view &key, const nostd::string_view &value) noexcept
-
inline bool GetAllEntries(nostd::function_ref<bool(nostd::string_view, nostd::string_view)> callback) const noexcept
-
inline std::string ToHeader() const noexcept
Public Static Functions
- static inline OPENTELEMETRY_API_SINGLETON nostd::shared_ptr< Baggage > GetDefault ()
Public Static Attributes
-
static constexpr size_t kMaxKeyValuePairs = 180
-
static constexpr size_t kMaxKeyValueSize = 4096
-
static constexpr size_t kMaxSize = 8192
-
static constexpr char kKeyValueSeparator = '='
-
static constexpr char kMembersSeparator = ','
-
static constexpr char kMetadataSeparator = ';'
-
inline Baggage() noexcept