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 7b90184621d camel-jbang - Update docs
7b90184621d is described below

commit 7b90184621d07ccf3d8d38db200e7a6192fad7c7
Author: Claus Ibsen <claus.ib...@gmail.com>
AuthorDate: Fri Aug 5 10:02:00 2022 +0200

    camel-jbang - Update docs
---
 docs/user-manual/modules/ROOT/pages/camel-jbang.adoc | 17 +++++++++++++++++
 1 file changed, 17 insertions(+)

diff --git a/docs/user-manual/modules/ROOT/pages/camel-jbang.adoc 
b/docs/user-manual/modules/ROOT/pages/camel-jbang.adoc
index 9fb31d717e5..b85179421df 100644
--- a/docs/user-manual/modules/ROOT/pages/camel-jbang.adoc
+++ b/docs/user-manual/modules/ROOT/pages/camel-jbang.adoc
@@ -145,6 +145,23 @@ The console can give you insights into your running Camel 
application, such as r
 routes that takes the longest time to process messages. You can then drill 
down to pin-point, exactly
 which individual EIPs in these routes are the slowest.
 
+The developer console can also output the data in JSon format, which for 
example can be used by 3rd-party tooling
+to scrape the information.
+
+For example to output the top routes via curl, you can execute:
+
+[source,bash]
+----
+curl -s -H "Accept: application/json"  http://0.0.0.0:8080/q/dev/top/
+----
+
+And if you have `jq` installed which can format and output the JSon data in 
colour, then do:
+
+[source,bash]
+----
+curl -s -H "Accept: application/json"  http://0.0.0.0:8080/q/dev/top/ | jq
+----
+
 === Using profiles
 
 Camel JBang have the concept of profiles. A _profile_ is essentially a name 
(id) that refers

Reply via email to