Re: Question about camel metrics IDs

2021-12-01 Thread Romain Manni-Bucau
Hi Roberto, There is no link between microprofile and JMX but you can register any JMX metric in microprofile-metrics programmatically (you can have a look to https://github.com/apache/geronimo-metrics/blob/33ca63305677c0c62c975f7d76ed1a314d9382e2/geronimo-metrics-common/src/main/java/org/apache/g

Re: Question about camel metrics IDs

2021-12-01 Thread Roberto Camelk
OK, thanks! But it is a little tricky for me... Is there no correlation possibility between the JMX metrics and the Microprofile Metrics at all? A challenge, try adapt this grafana dashboard based on JMX metrics: https://github.com/weimeilin79/camel-k-example-prometheus/blob/master/grafana/Sample

Re: Question about camel metrics IDs

2021-12-01 Thread Antonin Stefanutti
> On 1 Dec 2021, at 18:58, Roberto Camelk wrote: > > OK, thanks. > > But, can I setup the JMX exported in a Camel-K integration? It's a bit tricky but not impossible. You would need to replicate what we did before we moved to Quarkus as the runtime, that is: Add the dependencies on camel-ma

Re: Question about camel metrics IDs

2021-12-01 Thread Roberto Camelk
OK, thanks. But, can I setup the JMX exported in a Camel-K integration? On Wed, Dec 1, 2021 at 2:39 PM Antonin Stefanutti wrote: > > > > On 1 Dec 2021, at 18:08, Roberto Camelk > mailto:betonetotbo.cam...@gmail.com>> wrote: > > I found a prometheus yaml config, who's using some scrape definitio

Re: Question about camel metrics IDs

2021-12-01 Thread Antonin Stefanutti
On 1 Dec 2021, at 18:08, Roberto Camelk mailto:betonetotbo.cam...@gmail.com>> wrote: I found a prometheus yaml config, who's using some scrape definitions and I need to find the correlated metrics in camel-k. Here are the scrape patterns: https://github.com/alainpham/app-archetypes/blob/1f559e

Question about camel metrics IDs

2021-12-01 Thread Roberto Camelk
I found a prometheus yaml config, who's using some scrape definitions and I need to find the correlated metrics in camel-k. Here are the scrape patterns: https://github.com/alainpham/app-archetypes/blob/1f559e84753525b087a503ecb2d97c26e108dee7/spring-boot-camel/src/main/resources/archetype-resourc

Re: Camel Metrics Component v 2.23.0

2018-12-04 Thread Andrea Cosentino
: @oscerd2 Github: oscerd On Wednesday, December 5, 2018, 8:04:09 AM GMT+1, Larry Shields wrote: Hello, I've run into an issue with the Camel Metrics component in v2.23.0 which appears to be due to the change in the io.dropwizard.metrics metrics-core libraries from v3.x to 4.x. 

Camel Metrics Component v 2.23.0

2018-12-04 Thread Larry Shields
Hello, I've run into an issue with the Camel Metrics component in v2.23.0 which appears to be due to the change in the io.dropwizard.metrics metrics-core libraries from v3.x to 4.x. When enabling Jmx support for the MetricsRoutePolicyFactory, this causes an exception loading the JmxRep

Re: Grafana dashbboard for Camel metrics

2017-01-24 Thread Bilgin Ibryam
pe=node&node=5792946&i=0> >> > wrote: >> >> > Hello, >> > >> > Has anyone done any dashboard visualisation using Grafana/InfluxDB for >> > Camel >> > route metrics? >> > >> > Best >> > Souciance >> &

Re: Grafana dashbboard for Camel metrics

2017-01-22 Thread souciance
t; > wrote: > > > Hello, > > > > Has anyone done any dashboard visualisation using Grafana/InfluxDB for > > Camel > > route metrics? > > > > Best > > Souciance > > > > > > > > -- > > View this message in context:

Re: Grafana dashbboard for Camel metrics

2017-01-22 Thread Mark Nuttall
any dashboard visualisation using Grafana/InfluxDB for > Camel > route metrics? > > Best > Souciance > > > > -- > View this message in context: http://camel.465427.n5.nabble. > com/Grafana-dashbboard-for-Camel-metrics-tp5792945.html > Sent from the Camel - Users mailing list archive at Nabble.com. >

Grafana dashbboard for Camel metrics

2017-01-22 Thread souciance
Hello, Has anyone done any dashboard visualisation using Grafana/InfluxDB for Camel route metrics? Best Souciance -- View this message in context: http://camel.465427.n5.nabble.com/Grafana-dashbboard-for-Camel-metrics-tp5792945.html Sent from the Camel - Users mailing list archive at

Re: Camel Metrics

2016-09-18 Thread Willem Jiang
ull) { return > metricsRegistry.dumpStatisticsAsJson(); }Any ideas. > > > > -- > View this message in context: > http://camel.465427.n5.nabble.com/Camel-Metrics-tp5787256.html > Sent from the Camel - Users mailing list archive at Nabble.com.

Camel Metrics

2016-09-06 Thread SaurabhNayar
icsAsJson();}Any ideas. -- View this message in context: http://camel.465427.n5.nabble.com/Camel-Metrics-tp5787256.html Sent from the Camel - Users mailing list archive at Nabble.com.

Camel Metrics - maintaining historical metrics

2015-11-09 Thread contactreji
Just one open question I had in mind while using camel-metrics from ETL jobs perspective. I am thinking of job level metric tracking. And jobs might happen sooner like every 2 mins or maybe in a day. And each job is identified by some unique id. Ex – A job categorized as VMM catagory running at

Re: Camel Metrics over Spring metrics

2015-11-09 Thread contactreji
i Mathews Sr. Developer - Middleware Integration / SOA ( Open Source - Apache Camel & Jboss Fuse ESB | Mule ESB ) LinkedIn - http://in.linkedin.com/pub/reji-mathews/31/9a2/40a Twitter - reji_mathews -- View this message in context: http://camel.465427.n5.nabble.com/Camel-Metrics-over-Spring-met

Re: Camel Metrics over Spring metrics

2015-11-09 Thread Claus Ibsen
The camel-metrics component has an jmx api to dump all as json. https://github.com/apache/camel/blob/master/components/camel-metrics/src/main/java/org/apache/camel/component/metrics/routepolicy/MetricsRegistryMBean.java On Mon, Nov 9, 2015 at 11:23 AM, contactreji wrote: > Hey > >

Re: Camel Metrics over Spring metrics

2015-11-09 Thread contactreji
ews -- View this message in context: http://camel.465427.n5.nabble.com/Camel-Metrics-over-Spring-metrics-tp5773518p5773523.html Sent from the Camel - Users mailing list archive at Nabble.com.

Camel Metrics over Spring metrics

2015-11-08 Thread contactreji
conds stddev = 0.00 milliseconds median = 0.00 milliseconds 75% <= 0.00 milliseconds 95% <= 0.00 milliseconds 98% <= 0.00 milliseconds 99% <= 0.00 milliseconds 99.9% <= 0.00 milliseconds -

Re: Camel Metrics during Exception

2015-10-27 Thread vivekrao001
If we don't stop the timer, does the thread will get stuck and result in memory leaks? Could somebody please help. -- View this message in context: http://camel.465427.n5.nabble.com/Camel-Metrics-during-Exception-tp5772948p5773119.html Sent from the Camel - Users mailing list archi

Camel Metrics during Exception

2015-10-21 Thread vivekrao001
* raises an exception, what would be the consequences, should we try to stop the timer in exception block? And the timer will not stop until a new request pass through? Any suggestion is greatly appreciated. -- View this message in context: http://camel.465427.n5.nabble.com/Camel-Metrics-during-Exce

Re: Camel-Metrics component -- is it safe to use in Production?

2015-10-14 Thread Joakim Bjørnstad
deploying/undeploying to certain servlet containers, Tomcat is mentioned. We use camel-metrics in production. No issues on Jboss EAP 6.1 thus far. In my current project I have used camel standalone and no issues thus far either. Alternatives, not as a camel component as far as I know. Camel does

Camel-Metrics component -- is it safe to use in Production?

2015-10-13 Thread xlogger
In the documentation http://camel.apache.org/metrics-component.html, it mentioned that MetricRegistry uses internal thread(s) for reporting. There is no public API in version 3.0.1 for users to clean up on exit. Thus using Camel Metrics Component leads to Java classloader leak and my cause

using camel metrics but need to persist metrics

2015-03-18 Thread aidatechinc
Hello, I am using the camel metrics, but we have a need to persist the metrics in the database? I was thinking of creating my own component but thought maybe there is a better way to customization? -- View this message in context: http://camel.465427.n5.nabble.com/using-camel-metrics-but

Re: camel-metrics Component

2015-03-01 Thread Claus Ibsen
ate DefaultCamelContext and set > SimpleRegistry in the constructor within blueprint (or even spring) > > It would be great if you can suggest the way to do it. > > Thanks, > > Vivek > > > > -- > View this message in context: > http://camel.465427.n5.nabble.com/cam

Re: camel-metrics Component

2015-03-01 Thread vivekt
can I instantiate DefaultCamelContext and set SimpleRegistry in the constructor within blueprint (or even spring) It would be great if you can suggest the way to do it. Thanks, Vivek -- View this message in context: http://camel.465427.n5.nabble.com/camel-metrics-Component-tp5758627p5763357

Re: camel-metrics Component

2015-02-27 Thread Claus Ibsen
dumpStatisticsAsJson(), only timer metrics has values in json, and no > counters are listed. > > > > -- > View this message in context: > http://camel.465427.n5.nabble.com/camel-metrics-Component-tp5758627p5763280.html > Sent from the Camel - Users mailing list arch

Re: camel-metrics Component

2015-02-27 Thread vivekt
json, and no counters are listed. -- View this message in context: http://camel.465427.n5.nabble.com/camel-metrics-Component-tp5758627p5763280.html Sent from the Camel - Users mailing list archive at Nabble.com.

Re: camel-metrics Component

2015-02-27 Thread Claus Ibsen
hich I am using in the blueprint > context. > > Do I have to write my own MetricsRoutePolicy (or extend it) so that all the > counters are captured? > > Thanks, > > Vivek > > > > -- > View this message in context: > http://camel.465427.n5.nabble.com/camel-me

Re: camel-metrics Component

2015-02-26 Thread vivekt
counters are captured? Thanks, Vivek -- View this message in context: http://camel.465427.n5.nabble.com/camel-metrics-Component-tp5758627p5763236.html Sent from the Camel - Users mailing list archive at Nabble.com.

Re: camel-metrics Component

2015-02-26 Thread Claus Ibsen
The metrics route policy is using a metrics timer to capture the data. So the data is there in the json blob you posted. https://github.com/apache/camel/blob/master/components/camel-metrics/src/main/java/org/apache/camel/component/metrics/routepolicy/MetricsRoutePolicy.java#L46 On Thu, Feb 26

RE: camel-metrics Component

2015-02-25 Thread vivekt
I want to expose the counters so that I can access the metrics via Hawtio In blueprint.xml, I have declared the bean as In Hawtio interface, I do see the Mbean service but it does not have any counters in the output. Could you please let me know if the issue is fixed in 2.14.1? Is there something that I am missing? Thanks, Vivek -- View this message in context: http://camel.465427.n5.nabble.com/camel-metrics-Component-tp5758627p5763182.html Sent from the Camel - Users mailing list archive at Nabble.com.

Re: camel-metrics Question

2014-11-12 Thread Claus Ibsen
I's for the > camel-metrics component? > > Consider the following example. I'm reading files from a source directory, > and want to keep track of the number of records contained in each file. To > pull this off, I need to set header values to override the metric name

camel-metrics Question

2014-11-12 Thread James L Greene
Just out of curiosity, is there a particular design reason that you can't use variable substitution/dynamic expressions in the defintion of URI's for the camel-metrics component? Consider the following example. I'm reading files from a source directory, and want to keep trac

RE: camel-metrics Component

2014-11-07 Thread James L Greene
ssage- From: Claus Ibsen [mailto:claus.ib...@gmail.com] Sent: Friday, November 07, 2014 10:29 AM To: users@camel.apache.org Subject: Re: camel-metrics Component This is an EXTERNAL email. STOP. THINK before you CLICK links or OPEN attachments.

Re: camel-metrics Component

2014-11-07 Thread Claus Ibsen
gt;> Email: jlgree...@aep.com >> >> >> -Original Message- >> From: Claus Ibsen [mailto:claus.ib...@gmail.com] >> Sent: Friday, November 07, 2014 9:26 AM >> To: users@camel.apache.org >> Subject: Re: camel-metrics Component >> >> This is an EXTERN

Re: camel-metrics Component

2014-11-07 Thread Claus Ibsen
ree...@aep.com > > > -Original Message- > From: Claus Ibsen [mailto:claus.ib...@gmail.com] > Sent: Friday, November 07, 2014 9:26 AM > To: users@camel.apache.org > Subject: Re: camel-metrics Component > > This is an EXTERNAL email. STOP. THINK before you CLICK links or OPEN

RE: camel-metrics Component

2014-11-07 Thread James L Greene
  jlgree...@aep.com -Original Message- From: Claus Ibsen [mailto:claus.ib...@gmail.com] Sent: Friday, November 07, 2014 9:26 AM To: users@camel.apache.org Subject: Re: camel-metrics Component This is an EXTERNAL email. STOP. THINK before you CLICK links o

Re: camel-metrics Component

2014-11-07 Thread Claus Ibsen
camel-metrics was first only a regular component. The route policy was added later to make it easy to turn that on in a single spot, and get metrics for all your routes. On Fri, Nov 7, 2014 at 3:07 PM, James L Greene wrote: > Claus, > > I gave your suggestion a try. There was no change in t

RE: camel-metrics Component

2014-11-07 Thread James L Greene
Claus, I gave your suggestion a try. There was no change in the output. The camel-metrics component is displaying the value of the counters via the logger, but the counters collection is empty when I try to access it programmatically. Regards, Jim Greene Principal IT Architect, Enterprise

Re: camel-metrics Component

2014-11-06 Thread Claus Ibsen
Try setting the route policy before adding the routes On Fri, Nov 7, 2014 at 1:35 AM, James L Greene wrote: > I have written a simple Java class to attempt to exercise the camel-metrics > component. In this example, I'm writing a standalone Java batch process, > which will read

camel-metrics Component

2014-11-06 Thread James L Greene
I have written a simple Java class to attempt to exercise the camel-metrics component. In this example, I'm writing a standalone Java batch process, which will read files from an input directory, and deposit the files in an output directory. I'm attempting to use the camel-metrics