-
Notifications
You must be signed in to change notification settings - Fork 36
[Blockstore] Add GetClusterCapacity handler #3720
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
[Blockstore] Add GetClusterCapacity handler #3720
Conversation
Note This is an automated comment that will be appended during run. 🔴 linux-x86_64-relwithdebinfo: some tests FAILED for commit cc7d416.
🟢 linux-x86_64-relwithdebinfo: all tests PASSED for commit cc7d416.
🟢 linux-x86_64-relwithdebinfo: all tests PASSED for commit cc7d416.
|
cc7d416
to
666caee
Compare
Note This is an automated comment that will be appended during run. 🟢 linux-x86_64-relwithdebinfo: all tests PASSED for commit 666caee.
🟢 linux-x86_64-relwithdebinfo: all tests PASSED for commit 666caee.
|
cloud/blockstore/libs/storage/service/service_actor_actions_get_cluster_capacity.cpp
Outdated
Show resolved
Hide resolved
cloud/blockstore/libs/storage/service/service_actor_actions_get_cluster_capacity.cpp
Outdated
Show resolved
Hide resolved
cloud/blockstore/libs/storage/service/service_actor_actions_get_cluster_capacity.cpp
Outdated
Show resolved
Hide resolved
cloud/blockstore/libs/storage/service/service_actor_actions_get_cluster_capacity.cpp
Show resolved
Hide resolved
cloud/blockstore/libs/storage/service/service_actor_actions_get_cluster_capacity.cpp
Outdated
Show resolved
Hide resolved
Note This is an automated comment that will be appended during run. 🔴 linux-x86_64-relwithdebinfo: some tests FAILED for commit 851ed53.
🟢 linux-x86_64-relwithdebinfo: all tests PASSED for commit 851ed53.
|
Note This is an automated comment that will be appended during run. 🔴 linux-x86_64-relwithdebinfo: some tests FAILED for commit 6e8457a.
🔴 linux-x86_64-relwithdebinfo: some tests FAILED for commit 6e8457a.
🔴 linux-x86_64-relwithdebinfo: some tests FAILED for commit 6e8457a.
|
Note This is an automated comment that will be appended during run. 🔴 linux-x86_64-relwithdebinfo: some tests FAILED for commit adffe69.
🔴 linux-x86_64-relwithdebinfo: some tests FAILED for commit adffe69.
🔴 linux-x86_64-relwithdebinfo: some tests FAILED for commit adffe69.
|
adffe69
to
198d1b2
Compare
cloud/blockstore/libs/storage/service/service_actor_actions_get_cluster_capacity.cpp
Outdated
Show resolved
Hide resolved
cloud/blockstore/libs/storage/service/service_actor_actions_get_cluster_capacity.cpp
Outdated
Show resolved
Hide resolved
cloud/blockstore/libs/storage/service/service_actor_actions_get_cluster_capacity.cpp
Outdated
Show resolved
Hide resolved
cloud/blockstore/libs/storage/service/service_actor_actions_get_cluster_capacity.cpp
Outdated
Show resolved
Hide resolved
cloud/blockstore/libs/storage/service/service_actor_actions_get_cluster_capacity.cpp
Outdated
Show resolved
Hide resolved
ручка GetStorageStats не даёт информации о том, какой конкретно кластер YDB насколько занят. Внутри могут быть любые облачные сервисы, например NFS |
ed15a7b
to
82dfa58
Compare
#3614
Add
GetClusterCapacity
handler that collects cluster utilization information from YDB and DiskRegistry and returns it grouped by disk types.This handler will be used by
Disk Manager
to intelligently distribute newly created disks across shards.For collecting data from Disk Registry, an analogous handler has been added. For collecting from YDB,
GetStorageStatsRequest
is used (https://github.com/ydb-platform/ydb/blob/911050b753e7fb532f13324f65d2a167e8045e37/ydb/core/protos/sys_view.proto#L353-L358)