aboutsummaryrefslogtreecommitdiffstats
path: root/library/cpp/monlib/encode/prometheus
diff options
context:
space:
mode:
authoraleksei-le <aleksei-le@yandex-team.com>2023-07-13 11:23:36 +0300
committeraleksei-le <aleksei-le@yandex-team.com>2023-07-13 11:23:36 +0300
commitdfdcf3308ce1eef73cc215b3bf2730292628ff63 (patch)
treecf80b3c5728b7601950e72f9c18abe18e0b889a2 /library/cpp/monlib/encode/prometheus
parentf85ed558056c615312bc2d44a967e3487f3cc164 (diff)
downloadydb-dfdcf3308ce1eef73cc215b3bf2730292628ff63.tar.gz
metrics input: compress number hist buckets
Diffstat (limited to 'library/cpp/monlib/encode/prometheus')
-rw-r--r--library/cpp/monlib/encode/prometheus/prometheus_decoder.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/library/cpp/monlib/encode/prometheus/prometheus_decoder.cpp b/library/cpp/monlib/encode/prometheus/prometheus_decoder.cpp
index 7e81357dbd..29441c88c3 100644
--- a/library/cpp/monlib/encode/prometheus/prometheus_decoder.cpp
+++ b/library/cpp/monlib/encode/prometheus/prometheus_decoder.cpp
@@ -135,7 +135,7 @@ namespace NMonitoring {
Time_ = TInstant::Zero();
PrevBucket_ = ZERO_BUCKET;
Labels_.Clear();
- auto snapshot = ExplicitHistogramSnapshot(Bounds_, Values_);
+ auto snapshot = ExplicitHistogramSnapshot(Bounds_, Values_, true);
Bounds_.clear();
Values_.clear();