18 Nov
2013
18 Nov
'13
5:22 p.m.
Evan Rempel <erempel@uvic.ca> writes:
Perhaps the same logic can be used to identify those counters that have expired meaning that the stats-lifetime() has been exceeded,but instead of dropping the stat counter at that time, the counter is just flagged for dropping.
Then it becomes the job of the statistics logging, based on the stats-freq() value, to log AND drop those counters that have been flagged as having exceeded the stats-lifetime().
This way a counter is never dropped until it has exceeded the stats-lifetime() AND has been logged.
That makes a lot of sense, but syslog-ng-ctl stats should not count (or perhaps only with a flag), precisely to avoid the scenario you outlined too. -- |8]