]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
mgr/dashboard: grafana panels for rgw multisite sync performance 41386/head
authorAlfonso Martínez <almartin@redhat.com>
Fri, 22 May 2020 11:36:10 +0000 (13:36 +0200)
committerAlfonso Martínez <almartin@redhat.com>
Tue, 18 May 2021 14:24:20 +0000 (16:24 +0200)
commita09de47e3b488fab5ff115be4580bbaf0d9db4e3
treea7b1715aaca4dceb2bdc8295b5ab951e3ed9bf35
parent92c182eab2abd731b513f46b416f657a9cca7426
mgr/dashboard: grafana panels for rgw multisite sync performance

* RGW sync perf. counters are now exposed through grafana panels.
* Sync Performance tab is only shown if rgw realm is detected.
* Prometheus module: added metrics suitable for prometheus consumption (from existing ones, not replacing for backward compatibility).

Fixes: https://tracker.ceph.com/issues/45310
Signed-off-by: Alfonso Martínez <almartin@redhat.com>
(cherry picked from commit cf4ff7d2f03bc285a3fae3f27577333f11dab58a)

 Conflicts:
   - Solved conflicts from cherry-pick:
       src/pybind/mgr/dashboard/controllers/rgw.py
       src/pybind/mgr/dashboard/frontend/src/app/ceph/rgw/rgw-bucket-form/rgw-bucket-form.component.spec.ts
       src/pybind/mgr/dashboard/frontend/src/app/ceph/rgw/rgw-bucket-form/rgw-bucket-form.component.ts
       src/pybind/mgr/dashboard/frontend/src/app/ceph/rgw/rgw-daemon-list/rgw-daemon-list.component.ts
       src/pybind/mgr/dashboard/frontend/src/app/shared/api/rgw-site.service.spec.ts
       src/pybind/mgr/dashboard/frontend/src/app/shared/api/rgw-site.service.ts
       src/pybind/mgr/dashboard/services/rgw_client.py
       src/pybind/mgr/dashboard/tests/test_rgw_client.py
   - src/pybind/mgr/dashboard/tools.py: added method included in a feature not to be backported.
   - src/pybind/mgr/dashboard/module.py: fixed linting issue.
13 files changed:
monitoring/grafana/dashboards/radosgw-sync-overview.json [new file with mode: 0644]
qa/tasks/mgr/dashboard/test_rgw.py
src/pybind/mgr/dashboard/controllers/rgw.py
src/pybind/mgr/dashboard/frontend/src/app/ceph/rgw/rgw-daemon-list/rgw-daemon-list.component.html
src/pybind/mgr/dashboard/frontend/src/app/ceph/rgw/rgw-daemon-list/rgw-daemon-list.component.spec.ts
src/pybind/mgr/dashboard/frontend/src/app/ceph/rgw/rgw-daemon-list/rgw-daemon-list.component.ts
src/pybind/mgr/dashboard/frontend/src/app/shared/api/rgw-site.service.spec.ts [new file with mode: 0644]
src/pybind/mgr/dashboard/frontend/src/app/shared/api/rgw-site.service.ts [new file with mode: 0644]
src/pybind/mgr/dashboard/module.py
src/pybind/mgr/dashboard/services/rgw_client.py
src/pybind/mgr/dashboard/tests/test_rgw_client.py
src/pybind/mgr/dashboard/tools.py
src/pybind/mgr/prometheus/module.py