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 aa898d4 commit 7668891Copy full SHA for 7668891
scouter.common/src/main/java/scouter/lang/counters/CounterEngine.java
@@ -277,7 +277,7 @@ public ArrayList<String> getAllCounterList() {
277
while (types.hasMoreElements()) {
278
ObjectType obj = types.nextElement();
279
scouter.lang.Counter[] counters = obj.listCounters();
280
- if(counters == null) return null;
+ if(counters == null || counters.length == 0) continue;
281
for (scouter.lang.Counter counter : counters) {
282
if (counter.isAll()) {
283
list.add(obj.getName() + ":" + counter.getDisplayName() + ":" + counter.getName());
0 commit comments