Replies: 1 comment
-
Sorry for the late response. This package uses the
|
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Question: is it expected for logrotate to always use copytruncate option for exporter to be able to read new log file properly? I have a quite busy nginx that needs hourly rotation, on which copytruncate would be too disk i/o intensive as one hour worth of log file size is already a bit large. However the exporter almost always fail to realize the file has been rotated -- it's still holding the old file descriptor -- some times to the point of the file already deleted (exporter still kept holding on the fd). Using copytruncate fix this problem, but why is the exporter behave this way?
Beta Was this translation helpful? Give feedback.
All reactions