Fix for Grafana does not plot the RDT plugin data correctly. 51/61651/1
authorKamil Wiatrowski <kamilx.wiatrowski@intel.com>
Tue, 7 Aug 2018 14:14:59 +0000 (16:14 +0200)
committerRadoslaw Jablonski <radoslawx.jablonski@intel.com>
Fri, 31 Aug 2018 11:26:55 +0000 (12:26 +0100)
Fixed the interval of intel_rdt plugin and Grafana dashboard settings
to follow the correct interval.

Change-Id: Ia792c6b6308526d82f153275d5d5393b0aea312d
Signed-off-by: Kamil Wiatrowski <kamilx.wiatrowski@intel.com>
docker/ansible/roles/config_files/templates/rdt.conf.j2
docker/barometer-grafana/dashboards/intel_rdt_dashboard.json

index 814c23c..0e1afcf 100644 (file)
@@ -13,7 +13,7 @@
 # limitations under the License.
 
 <LoadPlugin intel_rdt>
-  Interval "{{ rdt_interval }}"
+  Interval {{ rdt_interval }}
 </LoadPlugin>
 
 <Plugin intel_rdt>
index 49efec7..38baa2f 100644 (file)
@@ -33,6 +33,7 @@
             "datasource": "collectd",\r
             "fill": 1,\r
             "id": 1,\r
+            "interval": "1s",
             "legend": {\r
               "alignAsTable": true,\r
               "avg": true,\r
             "datasource": "collectd",\r
             "fill": 1,\r
             "id": 2,\r
+            "interval": "1s",
             "legend": {\r
               "alignAsTable": true,\r
               "avg": true,\r
             "datasource": "collectd",\r
             "fill": 1,\r
             "id": 3,\r
+            "interval": "1s",
             "legend": {\r
               "alignAsTable": true,\r
               "avg": true,\r
             "datasource": "collectd",\r
             "fill": 1,\r
             "id": 4,\r
+            "interval": "1s",
             "legend": {\r
               "alignAsTable": true,\r
               "avg": true,\r
                   },\r
                   {\r
                     "params": [\r
-                      "none"\r
+                      "null"
                     ],\r
                     "type": "fill"\r
                   }\r