You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Trying to set filelog receiver to delete_after_read, I get the panic runtime error described here.
Steps to Reproduce
Just run the app container (loki in this case), and docker.io/otel/opentelemetry-collector-contrib next to it, with an access to the volume where 1st container writes it's logs (/var/log/loki in this case).
Expected Result
otel collector to read content of every /var/log/loki/loki.log and delete that file when processed.
Actual Result
otel collector encounters an error (output copied below) and deletes the log file (which is probably the root cause for the repeated warn messages).
Note
The setup works before adding filelog.allowFileDeletion feature gate and:
Component(s)
receiver/filelog
What happened?
Description
Trying to set filelog receiver to
delete_after_read
, I get the panic runtime error described here.Steps to Reproduce
Just run the app container (loki in this case), and docker.io/otel/opentelemetry-collector-contrib next to it, with an access to the volume where 1st container writes it's logs (
/var/log/loki
in this case).Expected Result
otel collector to read content of every
/var/log/loki/loki.log
and delete that file when processed.Actual Result
otel collector encounters an error (output copied below) and deletes the log file (which is probably the root cause for the repeated
warn
messages).Note
The setup works before adding
filelog.allowFileDeletion
feature gate and:Collector version
0.95.0
Environment information
Environment
OS: Rocky 9
OpenTelemetry Collector configuration
Log output
Additional context
No response
The text was updated successfully, but these errors were encountered: