]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
mgr/dashboard: fix some performance data are not displayed 28101/head
authorKiefer Chang <kiefer.chang@suse.com>
Mon, 20 May 2019 06:18:32 +0000 (14:18 +0800)
committerJan Fajerski <jfajerski@suse.com>
Fri, 24 May 2019 08:22:52 +0000 (10:22 +0200)
Several Grafana dashboards were updated and their uids are changed.
Update corresponding uids in angular templates. Also fix that when a user
clicks performance details of an OSD, wrong OSD metrics are displayed.

Fixes: http://tracker.ceph.com/issues/39971
Signed-off-by: Kiefer Chang <kiefer.chang@suse.com>
(cherry picked from commit acf90c5512678c43b4424d592c2212e4f45d3c0c)

src/pybind/mgr/dashboard/frontend/src/app/ceph/cephfs/cephfs-detail/cephfs-detail.component.html
src/pybind/mgr/dashboard/frontend/src/app/ceph/cluster/hosts/host-details/host-details.component.html
src/pybind/mgr/dashboard/frontend/src/app/ceph/cluster/hosts/hosts.component.html
src/pybind/mgr/dashboard/frontend/src/app/ceph/cluster/osd/osd-details/osd-details.component.html
src/pybind/mgr/dashboard/frontend/src/app/ceph/pool/pool-details/pool-details.component.html

index a4848790b58da9455f91badbc93d03587a53e5b3..81ae6060849bdb36359c9310defd54c1948227ee 100644 (file)
@@ -44,7 +44,7 @@
        *ngIf="grafanaPermission.read"
        heading="Performance Details">
     <cd-grafana [grafanaPath]="'mds-performance?var-mds_servers=mds.' + grafanaId"
-                uid="rRfFzWtik"
+                uid="tbO9LAiZz"
                 grafanaStyle="one">
     </cd-grafana>
   </tab>
index 7e1aa38a82bb5b15eddced2ef4cc40949c6d5763..005a87497a658ee31bcc4e7f7cf9858ed5d8c013 100644 (file)
@@ -2,7 +2,7 @@
   <tab i18n-heading
        heading="Performance Details">
     <cd-grafana [grafanaPath]="'host-details?var-ceph_hosts=' + host['hostname']"
-                uid="7IGu2Ttmz"
+                uid="rtOg0AiWz"
                 grafanaStyle="three">
     </cd-grafana>
   </tab>
index b0eb93470f8c6b9931bb358fea6a5c5082e3d547..39dcedb313ed561b7d21ba63996de4138900d3ab 100644 (file)
@@ -28,7 +28,7 @@
        *ngIf="permissions.grafana.read"
        heading="Overall Performance">
     <cd-grafana [grafanaPath]="'host-overview?'"
-                uid="lxnjcTAmk"
+                uid="y0KGL0iZz"
                 grafanaStyle="two">
     </cd-grafana>
   </tab>
index ba2c34cfda467f5664c73447b1e1974dbf727135..defec482623ca79d9f4b6e4682b1898cac070c54 100644 (file)
@@ -44,8 +44,8 @@
   <tab i18n-heading
        *ngIf="grafanaPermission.read"
        heading="Performance Details">
-    <cd-grafana [grafanaPath]="'osd-device-details?var-osd_id=' + osd['id']"
-                uid="MKj_9ipiz"
+    <cd-grafana [grafanaPath]="'osd-device-details?var-osd=osd.' + osd['id']"
+                uid="CrAHE0iZz"
                 grafanaStyle="GrafanaStyles.two">
     </cd-grafana>
   </tab>
index 7c1b1b5f9e95170aa477e70b2f0d38ee2446d14c..5fd9edbad3b9d970fd7ebdcd6f5c0ed0dd06802f 100644 (file)
@@ -13,7 +13,7 @@
        heading="Performance Details">
     <cd-grafana [grafanaPath]="'ceph-pool-detail?var-pool_name='
                 + selection.first()['pool_name']"
-                uid="8ypfkWpik"
+                uid="-xyV8KCiz"
                 grafanaStyle="one">
     </cd-grafana>
   </tab>