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/06/24 06:41:14 UTC

(camel) branch main updated: CAMEL-20879: camel-core: remote vs local endpoints counters

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 f74ebce1a48 CAMEL-20879: camel-core: remote vs local endpoints counters
f74ebce1a48 is described below

commit f74ebce1a48d676f1836c02b83d2d99390c052c3
Author: Claus Ibsen <cl...@gmail.com>
AuthorDate: Mon Jun 24 08:40:46 2024 +0200

    CAMEL-20879: camel-core: remote vs local endpoints counters
---
 docs/user-manual/modules/ROOT/pages/camel-jbang.adoc | 18 ++++++++++++++++--
 1 file changed, 16 insertions(+), 2 deletions(-)

diff --git a/docs/user-manual/modules/ROOT/pages/camel-jbang.adoc b/docs/user-manual/modules/ROOT/pages/camel-jbang.adoc
index e94a83a7fb3..352685c70c2 100644
--- a/docs/user-manual/modules/ROOT/pages/camel-jbang.adoc
+++ b/docs/user-manual/modules/ROOT/pages/camel-jbang.adoc
@@ -1462,8 +1462,8 @@ camel get
  63068  mygroovy  3.20.0  JBang                1/1   Running      5s      2       0         0     0s/0s/-
 ----
 
-The `camel get` command will default display integrations, which is equivalent to
-typing `camel get integrations` or `camel get int`.
+The `camel get` command will default display Camel application (context), which is equivalent to
+typing `camel get context`.
 
 This displays overall information for every Camel integration, where you can see
 the total number of messages processed. The column _Since Last_
@@ -1475,6 +1475,20 @@ completed message is 9 seconds ago, and last failed is 1 hour and 3 minutes ago.
 
 TIP: You can run in _watch_ mode using: `camel get --watch`
 
+From *Camel 4.7* onwards two numbers will be displayed for _TOTAL_, _FAILED_, and _INFLIGHT_ columns.
+The first number is messages received from external systems (databases, cloud systems), and then second
+number is the total number (as in earlier versions).
+
+[source,bash]
+----
+camel get
+  PID   NAME    CAMEL  PLATFORM        PROFILE  READY  STATUS   RELOAD  AGE   ROUTE  MSG/S  TOTAL  FAIL  INFLIGHT  LAST  DELTA  SINCE-LAST
+ 42240  cheese  4.7.0  JBang v0.116.0  dev       1/1   Running       0  1m8s    2/2   1.01   1/65   0/0       0/0     0     -1     1s/1s/-
+----
+
+The _TOTAL_ column above shows `1/65` which mean that 1 message was from external source, and 65 in total; which means that
+64 are from internal sources (such as timer, seda).
+
 You can also see the status of every routes, from all the local Camel integrations with `camel get route`:
 
 [source,bash]