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-kamelets-examples.git
The following commit(s) were added to refs/heads/main by this push:
new 8f7176e CAMEL-22285: platform-http-main - Dev consoles should be
registered as management endpoints
8f7176e is described below
commit 8f7176ee87cc8ca0b78818dc92a61425da55907e
Author: Claus Ibsen <[email protected]>
AuthorDate: Tue Jul 29 20:35:00 2025 +0200
CAMEL-22285: platform-http-main - Dev consoles should be registered as
management endpoints
---
jbang/prometheus/README.adoc | 2 +-
jbang/prometheus/application.properties | 12 ++++++------
2 files changed, 7 insertions(+), 7 deletions(-)
diff --git a/jbang/prometheus/README.adoc b/jbang/prometheus/README.adoc
index d16d6da..8d19cbb 100644
--- a/jbang/prometheus/README.adoc
+++ b/jbang/prometheus/README.adoc
@@ -54,7 +54,7 @@ $ camel run
https://github.com/apache/camel-kamelets-examples/tree/main/jbang/pr
The statistics from Micrometer can be observed from HTTP at:
- http://localhost:8080/q/metrics
+ http://localhost:8080/observe/metrics
You can also browse the developer console: http://localhost:8080/q/dev to
introspect the running Camel application,
such as browsing the micrometer, where you can see the captured statistics.
diff --git a/jbang/prometheus/application.properties
b/jbang/prometheus/application.properties
index 185741f..35a3b24 100644
--- a/jbang/prometheus/application.properties
+++ b/jbang/prometheus/application.properties
@@ -25,12 +25,12 @@ camel.main.sourceLocationEnabled=true
# turn on dev console
camel.context.dev-console=true
-# enable http server
-camel.server.enabled = true
-camel.server.dev-console-enabled = true
-camel.server.health-check-enabled = true
-# turn on micrometer prometheus on q/metrics
-camel.server.metrics-enabled = true
+# enable management http server
+camel.management.enabled = true
+camel.management.dev-console-enabled = true
+camel.management.health-check-enabled = true
+# turn on micrometer prometheus on observe/metrics
+camel.management.metrics-enabled = true
# micrometer configurations
camel.metrics.enabled=true