From 708f3525bad4968571f23f3f942ac910ec3f57d3 Mon Sep 17 00:00:00 2001 From: rorewillo <rorewillo@yandex-team.ru> Date: Thu, 10 Feb 2022 16:50:59 +0300 Subject: Restoring authorship annotation for <rorewillo@yandex-team.ru>. Commit 1 of 2. --- library/cpp/monlib/encode/prometheus/prometheus_decoder.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'library/cpp/monlib/encode/prometheus') diff --git a/library/cpp/monlib/encode/prometheus/prometheus_decoder.cpp b/library/cpp/monlib/encode/prometheus/prometheus_decoder.cpp index 7e81357dbd..f12ea5e123 100644 --- a/library/cpp/monlib/encode/prometheus/prometheus_decoder.cpp +++ b/library/cpp/monlib/encode/prometheus/prometheus_decoder.cpp @@ -518,7 +518,7 @@ namespace NMonitoring { void ConsumeLabels(TStringBuf name, const TLabelsMap& labels) { Y_PARSER_ENSURE(labels.count(MetricNameLabel_) == 0, "label name '" << MetricNameLabel_ << - "' is reserved, but is used with metric: " << name << LabelsToStr(labels)); + "' is reserved, but is used with metric: " << name << LabelsToStr(labels)); Consumer_->OnLabelsBegin(); Consumer_->OnLabel(MetricNameLabel_, TString(name)); // TODO: remove this string allocation -- cgit v1.2.3