Change in vdsm[master]: repoplot: Consider sub-seconds in timestamps

nsoffer at redhat.com nsoffer at redhat.com
Fri Feb 26 23:09:56 UTC 2016


Nir Soffer has uploaded a new change for review.

Change subject: repoplot: Consider sub-seconds in timestamps
......................................................................

repoplot: Consider sub-seconds in timestamps

Previously timestamps were truncated, which is fine when we look at
timeouts of many seconds, but there are cases where we like to see
values which are less than 1 seconds.

Change-Id: Ibdb98fa743d671c4ee246b0858edeee7dd08f557
Signed-off-by: Nir Soffer <nsoffer at redhat.com>
---
M contrib/repoplot
1 file changed, 1 insertion(+), 1 deletion(-)


  git pull ssh://gerrit.ovirt.org:29418/vdsm refs/changes/03/54103/1

diff --git a/contrib/repoplot b/contrib/repoplot
index b6c1d35..4aadaf1 100755
--- a/contrib/repoplot
+++ b/contrib/repoplot
@@ -114,7 +114,7 @@
 
 def parse_timestamp(line):
     timestamp = line.split("::", 3)[2]
-    timestamp, millis = timestamp.split(",", 1)
+    timestamp = timestamp.replace(",", ".")
     return pandas.Timestamp(timestamp)
 
 


-- 
To view, visit https://gerrit.ovirt.org/54103
To unsubscribe, visit https://gerrit.ovirt.org/settings

Gerrit-MessageType: newchange
Gerrit-Change-Id: Ibdb98fa743d671c4ee246b0858edeee7dd08f557
Gerrit-PatchSet: 1
Gerrit-Project: vdsm
Gerrit-Branch: master
Gerrit-Owner: Nir Soffer <nsoffer at redhat.com>


More information about the vdsm-patches mailing list