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 {
29 kHistogramBucketsCount,
33 kReservedLabelApplication,
34 kReservedLabelCluster,
37 kReservedLabelProject,
39 kReservedLabelService,
47std::string_view ToString(WarningCode code);
49using PortabilityWarnings =
50 std::unordered_map<WarningCode, std::vector<Warning>>;
75formats::
json::Value Serialize(
const PortabilityWarnings& info,