From 4cdb1c8cd8817bae3a2fe509fabad162c62e82af Mon Sep 17 00:00:00 2001 From: Christian Pointner Date: Thu, 16 Oct 2014 22:58:42 +0200 Subject: added 'Z' after each timestamp to state it's UTC flumotion-rrd now rounds client_cnt and bytes_sent and imports them as integers --- src/daq/accesslog/s5-accesslog.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/daq/accesslog/s5-accesslog.py') diff --git a/src/daq/accesslog/s5-accesslog.py b/src/daq/accesslog/s5-accesslog.py index 7e74090..3f8775a 100755 --- a/src/daq/accesslog/s5-accesslog.py +++ b/src/daq/accesslog/s5-accesslog.py @@ -283,7 +283,7 @@ class AccessLog(): return cnt def _sendDataset(self, timestamp, duration, clients): - data = { "start-time": timestamp.isoformat('T'), + data = { "start-time": timestamp.isoformat('T') + 'Z', "duration-ms": duration * 1000, "data": { "clients": list(clients.values()), -- cgit v1.2.3