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 2022/11/18 15:15:13 UTC
[camel-kamelets-examples] branch main updated: Use micrometer
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 7e13878 Use micrometer
7e13878 is described below
commit 7e138788369e9952c6fa4b41ffc817302e216321
Author: Claus Ibsen <cl...@gmail.com>
AuthorDate: Fri Nov 18 15:08:32 2022 +0100
Use micrometer
---
jbang/chaos-monkey/README.adoc | 8 ++++++++
jbang/chaos-monkey/route.yaml | 2 +-
2 files changed, 9 insertions(+), 1 deletion(-)
diff --git a/jbang/chaos-monkey/README.adoc b/jbang/chaos-monkey/README.adoc
index fa6cd8a..9b56424 100644
--- a/jbang/chaos-monkey/README.adoc
+++ b/jbang/chaos-monkey/README.adoc
@@ -72,6 +72,14 @@ You can also inspect the health-check from CLI via:
$ camel get health
----
+And see metrics captured by micrometer:
+
+[source,sh]
+----
+$ camel get micrometer
+----
+
+
=== Help and contributions
If you hit any problem using Camel or have some feedback, then please
diff --git a/jbang/chaos-monkey/route.yaml b/jbang/chaos-monkey/route.yaml
index d3c4512..549e0e9 100644
--- a/jbang/chaos-monkey/route.yaml
+++ b/jbang/chaos-monkey/route.yaml
@@ -5,6 +5,6 @@
- to:
uri: bean:chaosMonkeyCheck?method=status
- to:
- uri: microprofile-metrics:counter:messages
+ uri: micrometer:counter:messages
- log:
message: ${body}
\ No newline at end of file