This is an automated email from the ASF dual-hosted git repository.

davsclaus pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/camel.git


The following commit(s) were added to refs/heads/main by this push:
     new 374dfdc1c2e Updated known binders
374dfdc1c2e is described below

commit 374dfdc1c2ed4863365cd0cf68e4b74963fe0fa4
Author: Claus Ibsen <[email protected]>
AuthorDate: Tue Jan 14 09:56:15 2025 +0100

    Updated known binders
---
 components/camel-micrometer-prometheus/pom.xml                          | 1 +
 .../src/main/docs/micrometer-prometheus.adoc                            | 2 +-
 .../org/apache/camel/component/micrometer/prometheus/BindersHelper.java | 2 +-
 3 files changed, 3 insertions(+), 2 deletions(-)

diff --git a/components/camel-micrometer-prometheus/pom.xml 
b/components/camel-micrometer-prometheus/pom.xml
index 9f44f4ea9f0..94071452b13 100644
--- a/components/camel-micrometer-prometheus/pom.xml
+++ b/components/camel-micrometer-prometheus/pom.xml
@@ -96,6 +96,7 @@
             </plugin>
 
             <!-- generate a list of known binders -->
+            <!-- mvn exec:java -->
             <plugin>
                 <groupId>org.codehaus.mojo</groupId>
                 <artifactId>exec-maven-plugin</artifactId>
diff --git 
a/components/camel-micrometer-prometheus/src/main/docs/micrometer-prometheus.adoc
 
b/components/camel-micrometer-prometheus/src/main/docs/micrometer-prometheus.adoc
index b66dc33c341..4ff9eea7f5b 100644
--- 
a/components/camel-micrometer-prometheus/src/main/docs/micrometer-prometheus.adoc
+++ 
b/components/camel-micrometer-prometheus/src/main/docs/micrometer-prometheus.adoc
@@ -43,13 +43,13 @@ The following binders can be configured with 
`camel.metrics.binders` that comes
 | `class-loader` | JVM class loading metrics
 | `commons-object-pool2` | Apache Commons Pool 2.x metrics
 | `file-descriptor` | File descriptor metrics gathered by the JVM
-| `hystrix-metrics-binder` | Hystrix Circuit Breaker metrics
 | `jvm-compilation` | JVM compilation metrics
 | `jvm-gc` | Garbage collection and GC pauses
 | `jvm-heap-pressure` | Provides methods to access measurements of low pool 
memory and heavy GC overhead
 | `jvm-info` | JVM information
 | `jvm-memory` | Utilization of various memory and buffer pools.
 | `jvm-thread` | JVM threads statistics
+| `jvm-thread-deadlock` | JVM deadlocked threads statistics
 | `log4j2` | Apache Log4j 2 statistics
 | `logback` | Logback logger statistics
 | `processor` | CPU processing statistics
diff --git 
a/components/camel-micrometer-prometheus/src/main/java/org/apache/camel/component/micrometer/prometheus/BindersHelper.java
 
b/components/camel-micrometer-prometheus/src/main/java/org/apache/camel/component/micrometer/prometheus/BindersHelper.java
index 177f0c679e6..f0fb9850caf 100644
--- 
a/components/camel-micrometer-prometheus/src/main/java/org/apache/camel/component/micrometer/prometheus/BindersHelper.java
+++ 
b/components/camel-micrometer-prometheus/src/main/java/org/apache/camel/component/micrometer/prometheus/BindersHelper.java
@@ -55,7 +55,7 @@ public final class BindersHelper {
             System.out.println("Cannot read " + JANDEX_INDEX + " with list of 
known MeterBinder classes");
         } else {
             DotName dn = DotName.createSimple(MeterBinder.class);
-            List<ClassInfo> classes = index.getKnownDirectImplementors(dn);
+            Set<ClassInfo> classes = index.getAllKnownImplementors(dn);
             for (ClassInfo info : classes) {
                 boolean deprecated = info.hasAnnotation(Deprecated.class);
                 if (deprecated) {

Reply via email to