8#include <userver/utils/statistics/storage.hpp>
10USERVER_NAMESPACE_BEGIN
12namespace utils::statistics {
14formats::
json::Value Serialize(
const std::vector<Label>& labels,
18 std::string error_message;
20 std::vector<Label> labels;
26enum class WarningCode {
31 kReservedLabelApplication,
32 kReservedLabelCluster,
35 kReservedLabelProject,
37 kReservedLabelService,
45std::string_view ToString(WarningCode code);
47using PortabilityWarnings =
48 std::unordered_map<WarningCode, std::vector<Warning>>;
73formats::
json::Value Serialize(
const PortabilityWarnings& info,