]> git-server-git.apps.pok.os.sepia.ceph.com Git - cephmetrics.git/commitdiff
Fix templating definitions templating-fix 189/head
authorPaul Cuzner <pcuzner@redhat.com>
Thu, 24 May 2018 23:54:16 +0000 (11:54 +1200)
committerPaul Cuzner <pcuzner@redhat.com>
Thu, 24 May 2018 23:54:16 +0000 (11:54 +1200)
To prevent template init failures the datasource
has been added to the template definitions

dashboards/mgr-prometheus/ceph-backend-storage.json
dashboards/mgr-prometheus/ceph-osd-information.json
dashboards/mgr-prometheus/ceph-pools.json
dashboards/mgr-prometheus/ceph-rgw-workload.json
dashboards/mgr-prometheus/iscsi-client-details.json
dashboards/mgr-prometheus/iscsi-overview.json

index 8620a5f0177caf446a3453de0e83ea30017d32d9..1814a7a1046773ca5b360b174fe33586d2875e04 100644 (file)
@@ -1,10 +1,20 @@
 {
+  "__inputs": [
+    {
+      "name": "DS_LOCAL",
+      "label": "Local",
+      "description": "",
+      "type": "datasource",
+      "pluginId": "prometheus",
+      "pluginName": "Prometheus"
+    }
+  ],
   "__requires": [
     {
       "type": "grafana",
       "id": "grafana",
       "name": "Grafana",
-      "version": "5.0.4"
+      "version": "5.1.3"
     },
     {
       "type": "datasource",
@@ -42,7 +52,7 @@
   "gnetId": null,
   "graphTooltip": 0,
   "id": null,
-  "iteration": 1525149605368,
+  "iteration": 1527118602232,
   "links": [
     {
       "asDropdown": true,
       {
         "allValue": null,
         "current": {},
-        "datasource": null,
+        "datasource": "${DS_LOCAL}",
         "hide": 0,
         "includeAll": true,
         "label": "OSD Hostname",
   },
   "timezone": "browser",
   "title": "Ceph Backend Storage",
-  "version": 14
-}
+  "version": 22
+}
\ No newline at end of file
index b51613fe5c083116b334d5b37396cd0f10256e70..daf75bd9d43248870041b17973bf5669aad36c4e 100644 (file)
@@ -1,16 +1,26 @@
 {
+  "__inputs": [
+    {
+      "name": "DS_LOCAL",
+      "label": "Local",
+      "description": "",
+      "type": "datasource",
+      "pluginId": "prometheus",
+      "pluginName": "Prometheus"
+    }
+  ],
   "__requires": [
     {
       "type": "grafana",
       "id": "grafana",
       "name": "Grafana",
-      "version": "5.0.4"
+      "version": "5.1.3"
     },
     {
       "type": "panel",
       "id": "grafana-piechart-panel",
       "name": "Pie Chart",
-      "version": "1.3.0"
+      "version": "1.3.1"
     },
     {
       "type": "datasource",
@@ -48,7 +58,7 @@
   "gnetId": null,
   "graphTooltip": 0,
   "id": null,
-  "iteration": 1526250090593,
+  "iteration": 1527118571092,
   "links": [
     {
       "asDropdown": true,
       {
         "allValue": ".*",
         "current": {},
-        "datasource": null,
+        "datasource": "${DS_LOCAL}",
         "hide": 0,
         "includeAll": true,
         "label": "OSD Id",
       {
         "allValue": null,
         "current": {},
-        "datasource": null,
+        "datasource": "${DS_LOCAL}",
         "hide": 2,
         "includeAll": true,
         "label": "OSD Id",
       {
         "allValue": "",
         "current": {},
-        "datasource": null,
+        "datasource": "${DS_LOCAL}",
         "hide": 2,
         "includeAll": true,
         "label": null,
   },
   "timezone": "browser",
   "title": "Ceph OSD Information",
-  "version": 14
-}
+  "version": 26
+}
\ No newline at end of file
index 50fb0bbdaba0777e9657c3636dfd945d17c3e393..b3c2d02a44005d953168b0fb538a22726fc2782a 100644 (file)
@@ -1,10 +1,20 @@
 {
+  "__inputs": [
+    {
+      "name": "DS_LOCAL",
+      "label": "Local",
+      "description": "",
+      "type": "datasource",
+      "pluginId": "prometheus",
+      "pluginName": "Prometheus"
+    }
+  ],
   "__requires": [
     {
       "type": "grafana",
       "id": "grafana",
       "name": "Grafana",
-      "version": "5.0.4"
+      "version": "5.1.3"
     },
     {
       "type": "panel",
@@ -42,7 +52,7 @@
   "gnetId": null,
   "graphTooltip": 0,
   "id": null,
-  "iteration": 1526263024209,
+  "iteration": 1527118557130,
   "links": [],
   "panels": [
     {
           "min": null,
           "show": false
         }
-      ]
+      ],
+      "yaxis": {
+        "align": false,
+        "alignLevel": null
+      }
     },
     {
       "aliasColors": {},
           "min": null,
           "show": false
         }
-      ]
+      ],
+      "yaxis": {
+        "align": false,
+        "alignLevel": null
+      }
     },
     {
       "collapsed": false,
       {
         "allValue": null,
         "current": {},
-        "datasource": null,
+        "datasource": "${DS_LOCAL}",
         "hide": 2,
         "includeAll": true,
         "label": null,
       {
         "allValue": null,
         "current": {},
-        "datasource": null,
+        "datasource": "${DS_LOCAL}",
         "hide": 2,
         "includeAll": true,
         "label": "Pool Name",
   },
   "timezone": "browser",
   "title": "Ceph Pools",
-  "version": 16
-}
+  "version": 24
+}
\ No newline at end of file
index 7ff2a4cc5b2fd3137f28db2abf01ed8ee96c6c6d..4c2b934f3f01cb2095346be875a43438efb771ff 100644 (file)
@@ -1,10 +1,20 @@
 {
+  "__inputs": [
+    {
+      "name": "DS_LOCAL",
+      "label": "Local",
+      "description": "",
+      "type": "datasource",
+      "pluginId": "prometheus",
+      "pluginName": "Prometheus"
+    }
+  ],
   "__requires": [
     {
       "type": "grafana",
       "id": "grafana",
       "name": "Grafana",
-      "version": "5.0.4"
+      "version": "5.1.3"
     },
     {
       "type": "panel",
@@ -42,7 +52,7 @@
   "gnetId": null,
   "graphTooltip": 0,
   "id": null,
-  "iteration": 1524726965851,
+  "iteration": 1527118585082,
   "links": [],
   "panels": [
     {
           "min": null,
           "show": true
         }
-      ]
+      ],
+      "yaxis": {
+        "align": false,
+        "alignLevel": null
+      }
     },
     {
       "aliasColors": {},
           "min": null,
           "show": true
         }
-      ]
+      ],
+      "yaxis": {
+        "align": false,
+        "alignLevel": null
+      }
     },
     {
       "aliasColors": {},
           "min": null,
           "show": true
         }
-      ]
+      ],
+      "yaxis": {
+        "align": false,
+        "alignLevel": null
+      }
     },
     {
       "cacheTimeout": null,
           "scopedVars": {
             "rgw_servers": {
               "selected": false,
-              "text": "rgw.rhs-srv-01",
-              "value": "rgw.rhs-srv-01"
+              "text": "rgw.radosgw-staticsite.dl-rgw-pub01",
+              "value": "rgw.radosgw-staticsite.dl-rgw-pub01"
             }
           },
           "seriesOverrides": [],
           "scopedVars": {
             "rgw_servers": {
               "selected": false,
-              "text": "rgw.rhs-srv-01",
-              "value": "rgw.rhs-srv-01"
+              "text": "rgw.radosgw-staticsite.dl-rgw-pub01",
+              "value": "rgw.radosgw-staticsite.dl-rgw-pub01"
             }
           },
           "seriesOverrides": [],
           "scopedVars": {
             "rgw_servers": {
               "selected": false,
-              "text": "rgw.rhs-srv-01",
-              "value": "rgw.rhs-srv-01"
+              "text": "rgw.radosgw-staticsite.dl-rgw-pub01",
+              "value": "rgw.radosgw-staticsite.dl-rgw-pub01"
             }
           },
           "strokeWidth": 1,
       {
         "allValue": null,
         "current": {},
-        "datasource": null,
+        "datasource": "${DS_LOCAL}",
         "hide": 2,
         "includeAll": true,
         "label": null,
   },
   "timezone": "",
   "title": "Ceph RGW Workload",
-  "version": 15
+  "version": 8
 }
index 7a9ab3392169720b066a8bec5abc0c0d2903f8b1..54edec74ecb22c5e30c860375fab43f4442212d2 100644 (file)
@@ -1,10 +1,20 @@
 {
+  "__inputs": [
+    {
+      "name": "DS_LOCAL",
+      "label": "Local",
+      "description": "",
+      "type": "datasource",
+      "pluginId": "prometheus",
+      "pluginName": "Prometheus"
+    }
+  ],
   "__requires": [
     {
       "type": "grafana",
       "id": "grafana",
       "name": "Grafana",
-      "version": "5.0.4"
+      "version": "5.1.3"
     },
     {
       "type": "panel",
@@ -42,7 +52,7 @@
   "gnetId": null,
   "graphTooltip": 0,
   "id": null,
-  "iteration": 1526265032109,
+  "iteration": 1527118651310,
   "links": [],
   "panels": [
     {
           "min": null,
           "show": false
         }
-      ]
+      ],
+      "yaxis": {
+        "align": false,
+        "alignLevel": null
+      }
     },
     {
       "aliasColors": {},
           "min": null,
           "show": false
         }
-      ]
+      ],
+      "yaxis": {
+        "align": false,
+        "alignLevel": null
+      }
     },
     {
       "columns": [],
       {
         "allValue": null,
         "current": {},
-        "datasource": null,
+        "datasource": "${DS_LOCAL}",
         "hide": 0,
         "includeAll": false,
         "label": "Client IQN",
       {
         "allValue": null,
         "current": {},
-        "datasource": null,
+        "datasource": "${DS_LOCAL}",
         "hide": 2,
         "includeAll": false,
         "label": null,
   },
   "timezone": "",
   "title": "iSCSI Client Details",
-  "version": 7
-}
+  "version": 9
+}
\ No newline at end of file
index 3a745019e7dc0527a09b5907ee8caa86f42b72e6..8e2e396a029dd949c6e5cd9588b72d18bc520342 100644 (file)
@@ -1,16 +1,26 @@
 {
+  "__inputs": [
+    {
+      "name": "DS_LOCAL",
+      "label": "Local",
+      "description": "",
+      "type": "datasource",
+      "pluginId": "prometheus",
+      "pluginName": "Prometheus"
+    }
+  ],
   "__requires": [
     {
       "type": "grafana",
       "id": "grafana",
       "name": "Grafana",
-      "version": "5.0.4"
+      "version": "5.1.3"
     },
     {
       "type": "panel",
       "id": "grafana-piechart-panel",
       "name": "Pie Chart",
-      "version": "1.3.0"
+      "version": "1.3.1"
     },
     {
       "type": "panel",
@@ -54,7 +64,7 @@
   "gnetId": null,
   "graphTooltip": 0,
   "id": null,
-  "iteration": 1526263169717,
+  "iteration": 1527118621064,
   "links": [
     {
       "asDropdown": true,
           "min": null,
           "show": true
         }
-      ]
+      ],
+      "yaxis": {
+        "align": false,
+        "alignLevel": null
+      }
     },
     {
       "aliasColors": {},
       {
         "allValue": null,
         "current": {},
-        "datasource": null,
+        "datasource": "${DS_LOCAL}",
         "hide": 2,
         "includeAll": false,
         "label": null,
   },
   "timezone": "",
   "title": "iSCSI Overview",
-  "version": 30
+  "version": 21
 }