Skip to content

Commit 6af8ee5

Browse files
committed
fix: change loglevel to debug for container resource detector.
1 parent 7adcc4e commit 6af8ee5

File tree

1 file changed

+1
-1
lines changed
  • resources/container/lib/opentelemetry/resource/detector

1 file changed

+1
-1
lines changed

resources/container/lib/opentelemetry/resource/detector/container.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ def detect
4040
def container_id
4141
[CGROUP_V2_PATH, CGROUP_V1_PATH].each do |cgroup|
4242
unless File.readable?(cgroup)
43-
OpenTelemetry.handle_error(message: "Container resource detector - #{cgroup} could not be read.")
43+
OpenTelemetry.logger.debug("Container resource detector - #{cgroup} could not be read.")
4444
next
4545
end
4646

0 commit comments

Comments
 (0)