6#include <userver/baggage/baggage.hpp>
7#include <userver/baggage/baggage_settings.hpp>
9#include <userver/components/component_base.hpp>
10#include <userver/components/component_config.hpp>
11#include <userver/components/component_context.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, BaggageProperties properties)
const;
46 dynamic_config::Source config_source_;
61 BaggageManagerComponent(
const components::ComponentConfig& config,
const components::ComponentContext& context);
63 BaggageManager& GetManager();
68 BaggageManager baggage_manager_;