Hi,
this is probably a newbie question, I'd be happy for any ideas or pointers to documentation:
I learned from the best practices section that:
As a general rule, for every line of logging code you should also have a counter that is incremented.
I experimented with my own log file exporter, and I run into problems when the exporter is restarted. After the restart, counters start from zero. I am trying to show graphs with information on the number of events in a given time interval, but I see negative values for that. This makes the information on my Grafana dashboard quite useless.
What is a good way to deal with restarts in exporters that analyze logging output?
Thanks for your help!
Fabian