This is an automated email from the ASF dual-hosted git repository.
karan pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/druid.git
The following commit(s) were added to refs/heads/master by this push:
new 75b99168999 Remove stacktraces for RE failures on (#18338)
75b99168999 is described below
commit 75b991689990951752a01b5edab799b76d17bbcf
Author: Uddeshya Singh <[email protected]>
AuthorDate: Thu Jul 31 21:14:57 2025 +0530
Remove stacktraces for RE failures on (#18338)
* Remove stacktraces for RE
* drop the log level to warn
---
.../src/main/java/org/apache/druid/java/util/metrics/cgroups/Cpu.java | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git
a/processing/src/main/java/org/apache/druid/java/util/metrics/cgroups/Cpu.java
b/processing/src/main/java/org/apache/druid/java/util/metrics/cgroups/Cpu.java
index 774f7fdc697..5938740dd15 100644
---
a/processing/src/main/java/org/apache/druid/java/util/metrics/cgroups/Cpu.java
+++
b/processing/src/main/java/org/apache/druid/java/util/metrics/cgroups/Cpu.java
@@ -77,7 +77,7 @@ public class Cpu
}
}
catch (IOException | RuntimeException ex) {
- LOG.error(ex, "Unable to fetch cpu snapshot");
+ LOG.noStackTrace().warn(ex, "Unable to fetch CPU snapshot. Cgroup
metrics will not be emitted.");
}
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]