We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent ca356eb commit 9c2a712Copy full SHA for 9c2a712
1 file changed
ydb/src/ydb/impl/native_metrics.cpp
@@ -123,7 +123,7 @@ class WriterMetricConsumer final : public NMonitoring::IMetricConsumer {
123
for (std::size_t i = 0; i < count - 1; ++i) {
124
bounds_storage_[i] = snapshot->UpperBound(i);
125
}
126
- histogram_storage_.emplace(bounds_storage_);
+ histogram_storage_.emplace(utils::span(bounds_storage_.data(), bounds_storage_.size()));
127
128
histogram_storage_->AccountAt(i, snapshot->Value(i));
129
0 commit comments