Skip to content

Commit 0a3f819

Browse files
authored
FQ: edit LatencyMs buckets count in Histogram / to stable (ydb-platform#13604)
1 parent c2b8d74 commit 0a3f819

File tree

4 files changed

+4
-4
lines changed

4 files changed

+4
-4
lines changed

ydb/core/fq/libs/actors/pending_fetcher.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -136,7 +136,7 @@ class TPendingFetcher : public NActors::TActorBootstrapped<TPendingFetcher> {
136136

137137
private:
138138
static ::NMonitoring::IHistogramCollectorPtr GetLatencyHistogramBuckets() {
139-
return ::NMonitoring::ExplicitHistogram({0, 1, 2, 5, 10, 20, 50, 100, 500, 1000, 2000, 5000, 10000, 30000, 50000, 500000});
139+
return ::NMonitoring::ExplicitHistogram({0, 10, 100, 1000, 10000});
140140
}
141141
};
142142

ydb/core/fq/libs/compute/ydb/control_plane/compute_databases_cache.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ class TComputeDatabasesCacheActor : public NActors::TActorBootstrapped<TComputeD
5555
}
5656

5757
static ::NMonitoring::IHistogramCollectorPtr GetLatencyHistogramBuckets() {
58-
return ::NMonitoring::ExplicitHistogram({0, 1, 2, 5, 10, 20, 50, 100, 500, 1000, 2000, 5000, 10000, 30000, 50000, 500000});
58+
return ::NMonitoring::ExplicitHistogram({0, 10, 100, 1000, 10000});
5959
}
6060
};
6161

ydb/core/fq/libs/compute/ydb/control_plane/database_monitoring.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ class TComputeDatabaseMonitoringActor : public NActors::TActorBootstrapped<TComp
5050
}
5151

5252
static ::NMonitoring::IHistogramCollectorPtr GetLatencyHistogramBuckets() {
53-
return ::NMonitoring::ExplicitHistogram({0, 1, 2, 5, 10, 20, 50, 100, 500, 1000, 2000, 5000, 10000, 30000, 50000, 500000});
53+
return ::NMonitoring::ExplicitHistogram({0, 10, 100, 1000, 10000});
5454
}
5555
};
5656

ydb/core/fq/libs/test_connection/counters.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ void TTestConnectionRequestCounters::Register(const ::NMonitoring::TDynamicCount
1515
}
1616

1717
NMonitoring::IHistogramCollectorPtr TTestConnectionRequestCounters::GetLatencyHistogramBuckets() {
18-
return NMonitoring::ExplicitHistogram({0, 1, 2, 5, 10, 20, 50, 100, 500, 1000, 2000, 5000, 10000, 30000, 50000, 500000});
18+
return NMonitoring::ExplicitHistogram({0, 10, 100, 1000, 10000});
1919
}
2020

2121
} // NFq

0 commit comments

Comments
 (0)