]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
dashboard: AVG RAM Utilization panel always showed "N/A"
authorKristoffer Grönlund <kgronlund@suse.com>
Tue, 24 Mar 2020 16:57:15 +0000 (17:57 +0100)
committerNathan Cutler <ncutler@suse.com>
Mon, 6 Apr 2020 11:53:46 +0000 (13:53 +0200)
commitfaf603c54d2f0669de7ab8384a2604465c20096e
treeaf8323c86301001aecbe3fa1ca648d840282a0f1
parentc5c3c09ade3d8624fd470a8360fc344806cf1b89
dashboard: AVG RAM Utilization panel always showed "N/A"

The references to `$osd_hosts` etc. were encoded as
`[[osd_hosts]]` in the PromQL expression divisor, and
the panel always displayed N/A as the result of the
query.

Replacing the `[[...]]` with `$...` makes the expression
work again.

Fixes: https://tracker.ceph.com/issues/44784
Signed-off-by: Kristoffer Grönlund <kgronlund@suse.com>
(cherry picked from commit 4444333243aaa81de1d7347bf0c57e039b657d43)
monitoring/grafana/dashboards/hosts-overview.json