Closed
Description
Component(s)
pkg/stanza/fileconsumer
Is your feature request related to a problem? Please describe.
Specifically this log:
Describe the solution you'd like
I believe this is happening because when the ReplayFile
option is used, the fileconsumer uses the noStateTracker file tracker:
And this results in a new reader created each time a scrape is done:
To fix this, maybe we check for the tracker here before logging this log line.
Describe alternatives you've considered
Alternative 1: Remove this log line
Alternative 2: Allow the otlpjsonfilereceiver mute some errors
Additional context
No response