This is an automated email from the ASF dual-hosted git repository.
dlmarion pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/accumulo.git
The following commit(s) were added to refs/heads/main by this push:
new 23ba61b61e Log when getMetrics RPC called, but not configured for
Monitor (#6523)
23ba61b61e is described below
commit 23ba61b61ecd1c507fbb6e7c8410c410d0af66c9
Author: Dave Marion <[email protected]>
AuthorDate: Wed Sep 2 11:51:52 2026 -0400
Log when getMetrics RPC called, but not configured for Monitor (#6523)
---
.../src/main/java/org/apache/accumulo/server/AbstractServer.java | 5 +++++
1 file changed, 5 insertions(+)
diff --git
a/server/base/src/main/java/org/apache/accumulo/server/AbstractServer.java
b/server/base/src/main/java/org/apache/accumulo/server/AbstractServer.java
index c76fed4d09..5b370631b1 100644
--- a/server/base/src/main/java/org/apache/accumulo/server/AbstractServer.java
+++ b/server/base/src/main/java/org/apache/accumulo/server/AbstractServer.java
@@ -47,6 +47,7 @@ import org.apache.accumulo.core.process.thrift.MetricResponse;
import org.apache.accumulo.core.process.thrift.MetricSource;
import org.apache.accumulo.core.process.thrift.ServerProcessService;
import org.apache.accumulo.core.securityImpl.thrift.TCredentials;
+import
org.apache.accumulo.core.spi.metrics.AccumuloMonitorMeterRegistryFactory;
import org.apache.accumulo.core.trace.TraceUtil;
import org.apache.accumulo.core.util.Halt;
import org.apache.accumulo.core.util.Timer;
@@ -424,6 +425,10 @@ public abstract class AbstractServer
}
}
});
+ } else {
+ log.warn("getMetrics() called, likely by the Monitor, but {} not
configured in property {}",
+ AccumuloMonitorMeterRegistryFactory.class.getName(),
+ Property.GENERAL_MICROMETER_FACTORY.getKey());
}
builder.clear();