Change in vdsm[master]: sampling: allow to get the nth-last sample
danken at redhat.com
danken at redhat.com
Mon May 18 09:30:07 UTC 2015
Dan Kenigsberg has submitted this change and it was merged.
Change subject: sampling: allow to get the nth-last sample
......................................................................
sampling: allow to get the nth-last sample
HostStats thread need to access the second-last stored samples,
to produce connlog.
To cope with this requirement, we enhance SampleWindow class
to allow to retrieve the nth-last sample.
Change-Id: If73a6c0dc3503f6bcb02300517bbd2ff1424bcc3
Signed-off-by: Francesco Romani <fromani at redhat.com>
Reviewed-on: https://gerrit.ovirt.org/40427
Reviewed-by: Dan Kenigsberg <danken at redhat.com>
Continuous-Integration: Jenkins CI
Reviewed-by: Ido Barkan <ibarkan at redhat.com>
---
M tests/samplingTests.py
M vdsm/virt/sampling.py
2 files changed, 17 insertions(+), 5 deletions(-)
Approvals:
Ido Barkan: Looks good to me, but someone else must approve
Jenkins CI: Passed CI tests
Dan Kenigsberg: Looks good to me, approved
Francesco Romani: Verified
--
To view, visit https://gerrit.ovirt.org/40427
To unsubscribe, visit https://gerrit.ovirt.org/settings
Gerrit-MessageType: merged
Gerrit-Change-Id: If73a6c0dc3503f6bcb02300517bbd2ff1424bcc3
Gerrit-PatchSet: 6
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: Ido Barkan <ibarkan at redhat.com>
Gerrit-Reviewer: Jenkins CI
Gerrit-Reviewer: automation at ovirt.org
More information about the vdsm-patches
mailing list