aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorEvgeniy Ivanov <eivanov89@ydb.tech>2024-12-04 10:03:05 +0100
committerGitHub <noreply@github.com>2024-12-04 09:03:05 +0000
commit22abbae654e0cd13fec8fcebe39410e1c68cef79 (patch)
treec50a3668e923e0c753bb0958fe5142e32b6e387a
parentd6a279e3d04eea5a312a18d030ebd567bdd13a20 (diff)
downloadydb-22abbae654e0cd13fec8fcebe39410e1c68cef79.tar.gz
adjust grpc request latency buckets (#12271)
-rw-r--r--ydb/core/grpc_services/counters/counters.cpp7
1 files changed, 6 insertions, 1 deletions
diff --git a/ydb/core/grpc_services/counters/counters.cpp b/ydb/core/grpc_services/counters/counters.cpp
index 9abc71f3cb..342b4ce703 100644
--- a/ydb/core/grpc_services/counters/counters.cpp
+++ b/ydb/core/grpc_services/counters/counters.cpp
@@ -331,7 +331,12 @@ TYdbCounterBlock::TYdbCounterBlock(const ::NMonitoring::TDynamicCounterPtr& coun
InflyCounter = subgroup->GetCounter("infly", false);
auto h = NMonitoring::ExplicitHistogram(
- NMonitoring::TBucketBounds{1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 16, 20, 32, 50, 100, 500, 1000, 5000, 10000, 20000, 60000});
+ NMonitoring::TBucketBounds{
+ 0.5, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10,
+ 16, 20, 24, 28, 32, 36,
+ 40, 50, 60, 70, 80, 90,
+ 100, 200, 300, 400, 500,
+ 1000, 5000, 10000, 20000, 60000});
Histo = subgroup->GetHistogram("LatencyMs", std::move(h));
};
}