]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
mgr/dashboard: Replace capacity threshold data with prometheus metrics 64945/head
authorAfreen Misbah <afreen@ibm.com>
Mon, 11 Aug 2025 09:03:32 +0000 (14:33 +0530)
committerAfreen Misbah <afreen@ibm.com>
Wed, 13 Aug 2025 21:02:26 +0000 (02:32 +0530)
commit3281ccfe3542e22e141681cba77cc7970ba10e7b
treee7f8942f42e562841d8b9dd9427c189286270a3c
parent33ab0815392328843693ab58e5e34129929d0df4
mgr/dashboard: Replace capacity threshold data with prometheus metrics

- Fixes https://tracker.ceph.com/issues/72519
- the osd dump metrics is used in /api/osd/settings
- this metrics creates perf bottleneck when osds are 1000s
- replacing with similar prometheus metrics
- minor refactors - including renaming, comments.

Signed-off-by: Afreen Misbah <afreen@ibm.com>
src/pybind/mgr/dashboard/frontend/src/app/ceph/dashboard-v3/dashboard/dashboard-v3.component.html
src/pybind/mgr/dashboard/frontend/src/app/ceph/dashboard-v3/dashboard/dashboard-v3.component.ts
src/pybind/mgr/dashboard/frontend/src/app/ceph/rgw/rgw-overview-dashboard/rgw-overview-dashboard.component.ts
src/pybind/mgr/dashboard/frontend/src/app/shared/api/prometheus.service.ts
src/pybind/mgr/dashboard/frontend/src/app/shared/enum/dashboard-promqls.enum.ts