Damien Claisse ae6f125c7b MINOR: sample: add us/ms support to date/http_date
It can be sometimes interesting to have a timestamp with a
resolution of less than a second.
It is currently painful to obtain this, because concatenation
of date and date_us lead to a shorter timestamp during first
100ms of a second, which is not parseable and needs ugly ACLs
in configuration to prepend 0s when needed.
To improve this, add an optional <unit> parameter to date sample
to report an integer with desired unit.
Also support this unit in http_date converter to report
a date string with sub-second precision.
2019-10-31 08:47:31 +01:00
..
2019-05-25 07:34:24 +02:00
2006-06-15 21:48:13 +02:00
2019-07-06 11:41:37 +02:00
2006-06-15 21:48:13 +02:00
2019-05-25 07:34:24 +02:00
2019-05-25 07:34:24 +02:00
2019-05-25 07:34:24 +02:00
2019-05-25 07:34:24 +02:00
2019-05-25 07:34:24 +02:00