Change in mom[master]: Add HostTime Collector for writing time based mom policies.

alitke at redhat.com alitke at redhat.com
Mon Aug 4 16:47:41 UTC 2014


Adam Litke has submitted this change and it was merged.

Change subject: Add HostTime Collector for writing time based mom policies.
......................................................................


Add HostTime Collector for writing time based mom policies.

It returns host time statistics using python datetime module.
These stats would be useful for creating a time based policy.
Host Collector time interval is controlled in config file.
It provides the following stats -
time_year, time_month, time_day, time_hour,
time_minute, time_second, time_microsecond

Change-Id: I88a9d87d5f7e5a5c5baae2c20518a26a513dcda4
Signed-off-by: Meghal Gosalia <meghal at yahoo-inc.com>
Reviewed-on: http://gerrit.ovirt.org/28613
Reviewed-by: Adam Litke <alitke at redhat.com>
Tested-by: Adam Litke <alitke at redhat.com>
---
A mom/Collectors/HostTime.py
1 file changed, 37 insertions(+), 0 deletions(-)

Approvals:
  Adam Litke: Verified; Looks good to me, approved



-- 
To view, visit http://gerrit.ovirt.org/28613
To unsubscribe, visit http://gerrit.ovirt.org/settings

Gerrit-MessageType: merged
Gerrit-Change-Id: I88a9d87d5f7e5a5c5baae2c20518a26a513dcda4
Gerrit-PatchSet: 5
Gerrit-Project: mom
Gerrit-Branch: master
Gerrit-Owner: Meghal .B. Gosalia <meghalgosalia at gmail.com>
Gerrit-Reviewer: Adam Litke <alitke at redhat.com>
Gerrit-Reviewer: Meghal .B. Gosalia <meghalgosalia at gmail.com>
Gerrit-Reviewer: automation at ovirt.org



More information about the Engine-commits mailing list