We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e6e7749 commit 76a0d5bCopy full SHA for 76a0d5b
apm-agent-core/src/main/java/co/elastic/apm/agent/metrics/builtin/CGroupMetrics.java
@@ -203,6 +203,7 @@ private CgroupFiles createCgroup1Files(File memoryMountPath) throws IOException
203
private File getMaxMemoryFile(File maxMemoryFile, String cgroupUnlimitedConstant) throws IOException {
204
try(BufferedReader maxFileReader = new BufferedReader(new FileReader(maxMemoryFile))) {
205
String memMaxLine = maxFileReader.readLine();
206
+ logger.debug("max cgroup memory read from {} is: {}", maxMemoryFile.getAbsolutePath(), memMaxLine);
207
if (cgroupUnlimitedConstant.equalsIgnoreCase(memMaxLine)) {
208
// Make sure we don't send the max metric when cgroup is not bound to a memory limit
209
maxMemoryFile = null;
0 commit comments