camel-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Claus Ibsen (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (CAMEL-9014) Add statistics for usage of endpoints in EIPs
Date Sat, 25 Jul 2015 11:49:04 GMT

    [ https://issues.apache.org/jira/browse/CAMEL-9014?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14641557#comment-14641557
] 

Claus Ibsen commented on CAMEL-9014:
------------------------------------

There is a new option on jmx agent you can turn on `extendedStatisticsEnabled` that enables
this. Then there is JMX operations on various EIP mbeans to return the utilization statistics
of the endpoints, so you can see how many times which endpoint are used.

> Add statistics for usage of endpoints in EIPs
> ---------------------------------------------
>
>                 Key: CAMEL-9014
>                 URL: https://issues.apache.org/jira/browse/CAMEL-9014
>             Project: Camel
>          Issue Type: New Feature
>          Components: camel-core, jmx
>            Reporter: Claus Ibsen
>            Assignee: Claus Ibsen
>             Fix For: 2.16.0
>
>
> We can gather statistics for how often each endpoint is used in dynamic EIPs such as
recipient list, dynamic to, enricher, pollEnricher, dynamic router, and so on.
> However this requires to store counters, and that would require AtomicLong so they are
safe in concurrent environments, or use long with synchronized. 
> We can have an option on JMXAgent to turn this on|off so people can turn it off if they
dont need it.
> However it may be nice to see which are the most used endpoint uris in all those dynamic
EIPs.
> Today you can see it from the managed endpoint registry, but it does not keep score which
EIP its used by.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message