6#include <userver/baggage/baggage.hpp>
7#include <userver/baggage/baggage_settings.hpp>
9#include <userver/components/component_config.hpp>
10#include <userver/components/component_context.hpp>
11#include <userver/components/loggable_component_base.hpp>
12#include <userver/dynamic_config/source.hpp>
14USERVER_NAMESPACE_BEGIN
23class BaggageManager
final {
25 explicit BaggageManager(
const dynamic_config::Source& config_source);
34 void AddEntry(std::string key, std::string value,
35 BaggageProperties properties)
const;
47 dynamic_config::Source config_source_;
62 BaggageManagerComponent(
const components::ComponentConfig& config,
65 BaggageManager& GetManager();
70 BaggageManager baggage_manager_;