Skip to content
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

Conversation

pixcc
Copy link
Member

@pixcc pixcc commented Dec 25, 2023

No description provided.

@pixcc pixcc requested a review from vporyadke December 25, 2023 17:50
THashMap<TSubDomainKey, size_t> tabletsRunningInOtherDomains;
THashMap<TSubDomainKey, size_t> tabletsTotal;

for (const auto& [_, tablet] : Self->Tablets) {
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Ух как всё это дорого...

Copy link
Member Author

@pixcc pixcc Dec 25, 2023

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

Copy link

github-actions bot commented Dec 25, 2023

Note

This is an automated comment that will be appended during run.

🔴 linux-x86_64-relwithdebinfo: some tests FAILED for commit 9a77c62.

Test history

TESTS PASSED ERRORS FAILED SKIPPED MUTED?
59178 49955 0 10 9188 25

🔴 linux-x86_64-release-asan: some tests FAILED for commit 9a77c62.

Test history

TESTS PASSED ERRORS FAILED SKIPPED MUTED?
15310 15171 0 26 98 15

@vporyadke
Copy link
Collaborator

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?

CyberROFL
CyberROFL previously approved these changes Dec 28, 2023
vporyadke
vporyadke previously approved these changes Dec 28, 2023
@pixcc pixcc force-pushed the feature/KIKIMR-19289-serverless-tenants-monitoring branch from 38c4c9c to 1d77d19 Compare December 28, 2023 15:47
@pixcc pixcc dismissed stale reviews from vporyadke and CyberROFL via 9a77c62 December 29, 2023 04:34
@pixcc pixcc requested a review from vporyadke December 29, 2023 07:48
@pixcc pixcc merged commit 33744f6 into ydb-platform:main Dec 29, 2023
2 of 4 checks passed
@StekPerepolnen StekPerepolnen mentioned this pull request Dec 29, 2023
Closed
adameat pushed a commit to adameat/ydb that referenced this pull request Dec 29, 2023
…latform#710)

* Enhance monitoring for serverless tenants in Hive KIKIMR-19289
This was referenced Jan 3, 2024
This was referenced Jan 11, 2024
@vitstn vitstn mentioned this pull request Feb 16, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants