From Yaniv Bronhaim <ybronhei(a)redhat.com>:
Yaniv Bronhaim has posted comments on this change.
Change subject: vdsm metrics: replace dots with underscore in entity names
......................................................................
Patch Set 1:
(1 comment)
https://gerrit.ovirt.org/#/c/74417/1/lib/vdsm/host/api.py
File lib/vdsm/host/api.py:
Line 85: data = {}
Line 86:
Line 87: try:
Line 88: for dom in hoststats['storageDomains']:
Line 89: storage_prefix = prefix + '.storage.' +
dom.replace('.', '_')
Domain is a uuid - how can we have a "." in a uuid?
ok. thought it might include a string in it for some reason..
Line 90: dom_info = hoststats['storageDomains'][dom]
Line 91: data[storage_prefix + '.delay'] = dom_info['delay']
Line 92: data[storage_prefix + '.last_check'] =
dom_info['lastCheck']
Line 93:
--
To view, visit
https://gerrit.ovirt.org/74417
To unsubscribe, visit
https://gerrit.ovirt.org/settings
Gerrit-MessageType: comment
Gerrit-Change-Id: If097f45d9f9d65bd056371234255e91609656ae5
Gerrit-PatchSet: 1
Gerrit-Project: vdsm
Gerrit-Branch: master
Gerrit-Owner: Yaniv Bronhaim <ybronhei(a)redhat.com>
Gerrit-Reviewer: Irit Goihman <igoihman(a)redhat.com>
Gerrit-Reviewer: Jenkins CI
Gerrit-Reviewer: Martin Peřina <mperina(a)redhat.com>
Gerrit-Reviewer: Nir Soffer <nsoffer(a)redhat.com>
Gerrit-Reviewer: Piotr Kliczewski <piotr.kliczewski(a)gmail.com>
Gerrit-Reviewer: Shirly Radco <sradco(a)redhat.com>
Gerrit-Reviewer: Yaniv Bronhaim <ybronhei(a)redhat.com>
Gerrit-Reviewer: gerrit-hooks <automation(a)ovirt.org>
Gerrit-HasComments: Yes