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