Add the GMT offset in the rotated chunk path
authorJulien Desfossez <jdesfossez@efficios.com>
Thu, 11 Jan 2018 18:44:56 +0000 (13:44 -0500)
committerJérémie Galarneau <jeremie.galarneau@efficios.com>
Tue, 3 Apr 2018 16:12:29 +0000 (12:12 -0400)
commitfc58be13f62e691645dd75d56ce26d2e121b13e0
tree2b5be1b7c472b00f80162bb5ed1fa74854afddd1
parente7716c6aec4c7152bd4cb060b805d8cb7051c121
Add the GMT offset in the rotated chunk path

The path of a rotated chunk is composed of the start and end timestamp
of the trace inside that chunk. In order to support distributed
environments, we now specify the GMT offset in this path as well. The
date is now formatted in ISO 8601. Here is an example:
~/lttng-traces/<session-name>/20180118T144610-0500-20180118T144611-0500-1

Chunk start: 2018-01-18 14:46:10
Chunk end: 2018-01-18 14:46:11
GMT offset: GMT-5 on both timestamps
Chunk ID: 1 (number of rotations that occured in this session so far)

Signed-off-by: Julien Desfossez <jdesfossez@efficios.com>
Signed-off-by: Jérémie Galarneau <jeremie.galarneau@efficios.com>
src/bin/lttng-sessiond/cmd.c
src/bin/lttng-sessiond/rotate.c
tests/regression/tools/rotation/rotate_utils.sh
This page took 0.026746 seconds and 5 git commands to generate.