You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@camel.apache.org by da...@apache.org on 2023/11/16 14:50:45 UTC
(camel) 09/16: CAMEL-20105: camel-micromemter - Make it easier to configure for camel-main
This is an automated email from the ASF dual-hosted git repository.
davsclaus pushed a commit to branch mm
in repository https://gitbox.apache.org/repos/asf/camel.git
commit 0daab91b3b9bcd9e2fe683ab26bc7954d681a7f5
Author: Claus Ibsen <cl...@gmail.com>
AuthorDate: Thu Nov 16 06:23:59 2023 +0100
CAMEL-20105: camel-micromemter - Make it easier to configure for camel-main
---
.../camel/component/micrometer/prometheus/MicrometerPrometheus.java | 6 +++++-
1 file changed, 5 insertions(+), 1 deletion(-)
diff --git a/components/camel-micrometer-prometheus/src/main/java/org/apache/camel/component/micrometer/prometheus/MicrometerPrometheus.java b/components/camel-micrometer-prometheus/src/main/java/org/apache/camel/component/micrometer/prometheus/MicrometerPrometheus.java
index ad07eee99ae..37cd13762ce 100644
--- a/components/camel-micrometer-prometheus/src/main/java/org/apache/camel/component/micrometer/prometheus/MicrometerPrometheus.java
+++ b/components/camel-micrometer-prometheus/src/main/java/org/apache/camel/component/micrometer/prometheus/MicrometerPrometheus.java
@@ -55,7 +55,11 @@ public class MicrometerPrometheus extends ServiceSupport implements CamelMetrics
// TODO: option to configure prometheus (on or off)
// TODO: 0.0.4 or 1.0.0 text format
- // TODO: dev console
+ // TODO: rename to camel-micrometer-main
+ // TODO: include easily with jbang
+ // TODO: camel.server.metricsEnabled=true|false
+ // TODO: camel.server.otelEnabled=true|false
+ // TODO: docs
private CamelContext camelContext;
private final PrometheusMeterRegistry meterRegistry = new PrometheusMeterRegistry(PrometheusConfig.DEFAULT);