[grafana] Update Dashboard for CPU Usage 87/72887/2
authorEmma Foley <efoley@redhat.com>
Tue, 31 Aug 2021 10:09:35 +0000 (11:09 +0100)
committerEmma Foley <efoley@redhat.com>
Fri, 17 Dec 2021 13:03:38 +0000 (13:03 +0000)
commit3d043b231d91aa27449635a25d2f416b3ab38a2f
treebc45944942aa9f070f7d0e00ec36212f571e4f8f
parente21e1e13a29189b024801cb344093688f772890a
[grafana] Update Dashboard for CPU Usage

After the introduction of the collectd_config roles, for generating
configs, some of the configs changed, as they were no longer relying on
collectd's defaults.
One of these was the cpu plugin, which configured ``ReportPercentage True``
by the config role. The effected the grafana dashboards, because the CPU
usage dashboard explicitly selected ``type=cpu``. With the values being
reported as percentage, collectd sets the ``type=percent`` for the metrics
stored in influx (which grafana retrieves), so the dashboards dodn't
have any data to display. By  removing the ``type=cpu`` filter, the CPU
metrics are once again showing in grafana, and will be shown whether the
CPU usage is reported in percentage or the default jiffies.

Signed-off-by: "Emma Foley <efoley@redhat.com>"
Change-Id: I03a6f01677514d888e7805358855947791ab173c
docker/ansible/roles/config_files/vars/main.yml
docker/barometer-grafana/dashboards/cpu_usage_dashboard.json
docs/release/release-notes/notes/update-grafana-9bee82ecfa11f54a.yaml [new file with mode: 0644]