camel-issues mailing list archives

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


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:
>             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
> 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

View raw message