]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
mgr/dashboard: show perf. counters for rgw svc. on Cluster > Hosts 42629/head
authorAlfonso Martínez <almartin@redhat.com>
Wed, 4 Aug 2021 09:11:50 +0000 (11:11 +0200)
committerAlfonso Martínez <almartin@redhat.com>
Wed, 4 Aug 2021 12:48:46 +0000 (14:48 +0200)
commit091aff5e25eeedcc04f43586b16ddc3550e4775a
tree68b6959aae1541df6abadb6921c4f461825d55db
parentd730d5021ea136a472797d7dd30f48e6c634f19b
mgr/dashboard: show perf. counters for rgw svc. on Cluster > Hosts

- Use service_map_id to retrieve perf. counters for rgw services.
- Move logic from controller to CephService.

Fixes: https://tracker.ceph.com/issues/52022
Signed-off-by: Alfonso Martínez <almartin@redhat.com>
(cherry picked from commit 69a87a1dea6fe148f2a81b1d7775f5ade9626c09)
src/pybind/mgr/dashboard/controllers/perf_counters.py
src/pybind/mgr/dashboard/controllers/rgw.py
src/pybind/mgr/dashboard/frontend/src/app/ceph/rgw/models/rgw-daemon.ts
src/pybind/mgr/dashboard/frontend/src/app/ceph/rgw/rgw-daemon-details/rgw-daemon-details.component.html
src/pybind/mgr/dashboard/frontend/src/app/ceph/rgw/rgw-daemon-details/rgw-daemon-details.component.spec.ts
src/pybind/mgr/dashboard/frontend/src/app/ceph/rgw/rgw-daemon-details/rgw-daemon-details.component.ts
src/pybind/mgr/dashboard/services/ceph_service.py
src/pybind/mgr/dashboard/tests/test_rgw.py