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 2024/03/12 14:32:45 UTC
(camel) branch main updated: CAMEL-20554: camel-micrometer-prometheus - Should be GET verb
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 1522559ecd2 CAMEL-20554: camel-micrometer-prometheus - Should be GET verb
1522559ecd2 is described below
commit 1522559ecd2242fa0dc9551f058c825f5b1cbdb4
Author: Claus Ibsen <cl...@gmail.com>
AuthorDate: Tue Mar 12 15:32:34 2024 +0100
CAMEL-20554: camel-micrometer-prometheus - Should be GET verb
---
.../camel/component/micrometer/prometheus/MicrometerPrometheus.java | 2 +-
1 file changed, 1 insertion(+), 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 7174f6c0831..f90f90fccec 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
@@ -410,7 +410,7 @@ public class MicrometerPrometheus extends ServiceSupport implements CamelMetrics
// use blocking handler as the task can take longer time to complete
metrics.handler(new BlockingHandlerDecorator(handler, true));
- platformHttpComponent.addHttpEndpoint("/q/metrics", null,
+ platformHttpComponent.addHttpEndpoint("/q/metrics", "GET",
null, format, null);
}
}