Skip to content

Commit c7ab8be

Browse files
committed
cc statistics: increase recommended label length limit from 31 to 32
This affects default metrics portability warnings. commit_hash:75d781dbf2b132a6c54cd06ebde9f5a275fb5270
1 parent d439b7b commit c7ab8be

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

core/src/utils/statistics/solomon_limits.hpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ inline constexpr std::array<std::string_view, 6> kReservedLabelNames =
1414
// https://solomon.yandex-team.ru/docs/concepts/data-model#limits
1515
// "application" is in commonLabels and can be overridden (nginx system metrics)
1616
inline constexpr std::size_t kMaxLabels = 32 - kReservedLabelNames.size() - 1;
17-
inline constexpr std::size_t kMaxLabelNameLen = 31;
17+
inline constexpr std::size_t kMaxLabelNameLen = 32;
1818
inline constexpr std::size_t kMaxLabelValueLen = 200;
1919

2020
inline constexpr std::size_t kMaxHistogramBuckets = 50;

0 commit comments

Comments
 (0)