[receiver/awscontainerinsight] default host proc (/rootfs/proc) is attempted before checking for HOST_PROC env var #35862
Labels
bug
Something isn't working
needs triage
New item requiring triage
receiver/awscontainerinsight
waiting-for-code-owners
Component(s)
receiver/awscontainerinsight
What happened?
Description
Even if the
HOST_PROC
env var is set the receiver can fail to start if the default host proc (/rootfs/proc
) doesn't exist.Steps to Reproduce
Run the receiver in a image without
/rootfs/proc
but withHOST_PROC
env var set to a valid location.Expected Result
The receiver should use the value in
HOST_PROC
and start without issues.Actual Result
The receiver fails to start and triggers a shutdown of the collector.
Collector version
v0.111.0
Environment information
Environment
OS: (e.g., "Ubuntu 20.04")
Compiler(if manually compiled): (e.g., "go 14.2")
OpenTelemetry Collector configuration
No response
Log output
Additional context
No response
The text was updated successfully, but these errors were encountered: