We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent ce0d09f commit 073e4bbCopy full SHA for 073e4bb
1 file changed
dd-trace-ot/src/main/java/datadog/opentracing/ContainerInfo.java
@@ -72,8 +72,8 @@ public static boolean isRunningInContainer() {
72
public static ContainerInfo fromDefaultProcFile() throws IOException, ParseException {
73
final String content = new String(Files.readAllBytes(CGROUP_DEFAULT_PROCFILE));
74
if (content.isEmpty()) {
75
- log.error("proc file is empty");
76
- throw new IOException();
+ log.debug("Proc file is empty");
+ return new ContainerInfo();
77
}
78
return parse(content);
79
0 commit comments