Re: Camel Context Metrics

2016-08-16 Thread Rajith Muditha Attapattu
Thanks Sashika! Much appreciated. On Tue, Aug 16, 2016 at 11:27 AM, Sashika wrote: > In addition to what Vitalii mentioned you can use control bus to obtain > route stats in a more EIP friendly manner. This is also a good way the > application to access the stats as you requested in your question

Re: Camel Context Metrics

2016-08-16 Thread Sashika
In addition to what Vitalii mentioned you can use control bus to obtain route stats in a more EIP friendly manner. This is also a good way the application to access the stats as you requested in your question. On Aug 16, 2016 20:32, "Rajith Muditha Attapattu" wrote: > Thanks Vitalii > > On Tue,

Re: Camel Context Metrics

2016-08-16 Thread Rajith Muditha Attapattu
Thanks Vitalii On Tue, Aug 16, 2016 at 10:16 AM, Vitalii Tymchyshyn wrote: > Just a note. If you are in same JVM and has CamelContext objects ready, you > can always access stats data > with org.apache.camel.CamelContext#getManagedCamelContext. You don't need > JMX to do this. > > Best regards, V

Re: Camel Context Metrics

2016-08-16 Thread Vitalii Tymchyshyn
Just a note. If you are in same JVM and has CamelContext objects ready, you can always access stats data with org.apache.camel.CamelContext#getManagedCamelContext. You don't need JMX to do this. Best regards, Vitalii Tymchyshyn Пн, 15 серп. 2016 о 11:30 Rajith Muditha Attapattu пише: > Hey All,

Re: Camel Context Metrics

2016-08-15 Thread Rajith Muditha Attapattu
Thanks Mark. I'm using CDI, unfortunately this option is out. On Mon, Aug 15, 2016 at 12:12 PM, Mark Nuttall wrote: > Another way - if you are using Spring, Spring Boot has exporters built in > to export metrics. > > On Mon, Aug 15, 2016 at 12:02 PM, Rajith Muditha Attapattu < > rajit...@gmail.co

Re: Camel Context Metrics

2016-08-15 Thread Mark Nuttall
Another way - if you are using Spring, Spring Boot has exporters built in to export metrics. On Mon, Aug 15, 2016 at 12:02 PM, Rajith Muditha Attapattu < rajit...@gmail.com> wrote: > Thank you James! > > On Mon, Aug 15, 2016 at 11:35 AM, James Strachan > wrote: > > Prometheus is an awesome way t

Re: Camel Context Metrics

2016-08-15 Thread Rajith Muditha Attapattu
Thank you James! On Mon, Aug 15, 2016 at 11:35 AM, James Strachan wrote: > Prometheus is an awesome way to collect metrics from containers, JVMs, > Camel contexts and other processes: > https://prometheus.io/ > > We use it in fabric8 (http://fabric8.io/) to collect metrics from docker > container

Re: Camel Context Metrics

2016-08-15 Thread James Strachan
Prometheus is an awesome way to collect metrics from containers, JVMs, Camel contexts and other processes: https://prometheus.io/ We use it in fabric8 (http://fabric8.io/) to collect metrics from docker containers, kubernetes and any JVM which contains JMX or Camel. Adding Agent Bond to any JVM e

Camel Context Metrics

2016-08-15 Thread Rajith Muditha Attapattu
Hey All, I'm aware of the hawt.io plugin that connects to a Camel Context and pulls info via JMX. For performance reasons, we are looking at how an application (that contains one or more Camel Context) wants to push route metrics to an external source. We have several of those apps, which is why