exim_exporter
exim_exporter copied to clipboard
Bug report: Doesn't export metrics about log files if using timestamps
If log_timezone is set to true in exim configuration, the log format changes from
YYYY-MM-DD HH:MM:SS MAILID-MAILID-ID flag whatever whatever
to
YYYY-MM-DD HH:MM:SS +ZZZZ MAILID-MAILID-ID flag whatever whatever
(where flag is any of =>, <=, **, ==, etc etc)
This breaks checking the flags and generating exim_messages_total since the index (checked on lines 288-296) is offset by one.
Thanks for the report. I've verified the issue is reproducible.
Sorry, this got lost behind some feature work, and I should have just shipped it with a patch release... which I've done now with v0.6.2. Thanks again!