Change in vdsm[master]: vm: stats: periodic bulk stats sampling
fromani at redhat.com
fromani at redhat.com
Tue Feb 24 13:31:06 UTC 2015
Francesco Romani has posted comments on this change.
Change subject: vm: stats: periodic bulk stats sampling
......................................................................
Patch Set 22:
(1 comment)
https://gerrit.ovirt.org/#/c/36722/22/vdsm/virt/sampling.py
File vdsm/virt/sampling.py:
Line 419: if last_batch is None:
Line 420: last_sample = None
Line 421: else:
Line 422: last_sample = last_batch.get(vmid)
Line 423: return (first_sample, last_sample, interval)
this will be improved and cleaned up a bit into a later patch, to be published.
Line 424:
Line 425: def put(self, bulk_stats, monotonic_ts):
Line 426: if monotonic_ts >= self._last_sample_time:
Line 427: self._samples.append(bulk_stats)
--
To view, visit https://gerrit.ovirt.org/36722
To unsubscribe, visit https://gerrit.ovirt.org/settings
Gerrit-MessageType: comment
Gerrit-Change-Id: Ia2f1a62515059e663b418c6c7b61a15881980dc9
Gerrit-PatchSet: 22
Gerrit-Project: vdsm
Gerrit-Branch: master
Gerrit-Owner: Francesco Romani <fromani at redhat.com>
Gerrit-Reviewer: Dan Kenigsberg <danken at redhat.com>
Gerrit-Reviewer: Francesco Romani <fromani at redhat.com>
Gerrit-Reviewer: automation at ovirt.org
Gerrit-Reviewer: oVirt Jenkins CI Server
Gerrit-HasComments: Yes
More information about the vdsm-patches
mailing list