-
Notifications
You must be signed in to change notification settings - Fork 610
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Enhanced monitoring for serverless tenants in Hive KIKIMR-19289 #710
Enhanced monitoring for serverless tenants in Hive KIKIMR-19289 #710
Conversation
ydb/core/mind/hive/monitoring.cpp
Outdated
THashMap<TSubDomainKey, size_t> tabletsRunningInOtherDomains; | ||
THashMap<TSubDomainKey, size_t> tabletsTotal; | ||
|
||
for (const auto& [_, tablet] : Self->Tablets) { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Ух как всё это дорого...
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
А вот тут, по соседству, тоже по всем таблеткам пробегают
https://github.com/ydb-platform/ydb/blob/main/ydb/core/mind/hive/monitoring.cpp#L238
Note This is an automated comment that will be appended during run. 🔴 linux-x86_64-relwithdebinfo: some tests FAILED for commit 9a77c62.
🔴 linux-x86_64-release-asan: some tests FAILED for commit 9a77c62.
|
Yeah, going through all tablets for a monitoring page is not the end of the world. Still, have you considered keeping those stats in memory and updating them whenever a tablet changes its volatile state? |
38c4c9c
to
1d77d19
Compare
…latform#710) * Enhance monitoring for serverless tenants in Hive KIKIMR-19289
No description provided.