]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
dashboard: Resolve FQDN / hostname mismatch in hosts overview panel
authorKristoffer Grönlund <kgronlund@suse.com>
Thu, 26 Mar 2020 19:38:04 +0000 (20:38 +0100)
committerVolker Theile <vtheile@suse.com>
Thu, 9 Apr 2020 13:57:00 +0000 (15:57 +0200)
commit0157200f1cc9759a1086836831229f2bbf546173
treeae52d8644ce71f5e365f301d7adab06b9ab10a02
parentbfac83889a4920df8390b013e01456edf40d63fa
dashboard: Resolve FQDN / hostname mismatch in hosts overview panel

In the AVG Disk Utilization panel, the result is calculated
by combining the output of node_disk_io_time_seconds_total
with the output of ceph_disk_occupation. However, the
first vector encodes the instance label with the full FQDN
while the ceph label only contains the hostname:port. In
order for these to match correctly, the domain name and port
has to be stripped from the labels.

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