Hello,
In Spring Boot 2.1.0.RELEASE the dependency has been moved to 4.x, while in
2.22.x we were still using 2.0.6.RELEASE and the depedency for metrics was
correct.
We probably need to update the library in the main component..
Can you please raise a JIRA issue for this?
Maybe you can play
How about using the below code to look up the MetricsRegistry :)
context.getRegistry().lookupByNameAndType(“metricRegistry”,
MetricRegistry.class);
--
Willem Jiang
Blog: http://willemjiang.blogspot.com (English)
http://jnn.iteye.com (Chinese)
Twitter: willemjiang
Weibo: 姜宁willem
On Se
Hi Claus
Thanks for that clue. I tried something like follows as I see the method
dumpStatisticsAsJson() is already implemented in
org.apache.camel.component.metrics.routepolicy.MetricsRegistryService class.
Hope this is a sane way of trying to get something out from the method.
*http://camel.a
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
>
> I think I got
Hey
I think I got it to work with following configs in camel-context.
But I have one more question here. Is there a way to get the complete data
as json dump by configuring the metrics reporter in this camel-context file?
*
http://www.springframework.org/schema/beans";
xmlns:xsi="http
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 archive at Nabble.
Hello,
Camel 2.16.0 uses metrics 3.1.2 but as far as I know, there is still
an issue with this in metrics.
Related metrics issue: https://github.com/dropwizard/metrics/issues/742
The github issue explains some of the circumstances. Problems with
ThreadLocals not being garbage collected when deplo
Hi
Ah in blueprint its easier just declare a with
id="metricsRegistry" and its shared, eg.
its the name metricsRegistry that has a special meaning
On Mon, Mar 2, 2015 at 8:20 AM, vivekt wrote:
> Hello Claus,
>
> Thank you again for your reply. The code in java works and I can get the
> count
Hello Claus,
Thank you again for your reply. The code in java works and I can get the
counter metrics values in MetricRegistry.
I am now trying to figure out how can I create a bean in blueprint of
SimpleRegistry which extends type HashMap.
So far, I have this.
Also, I am not sure how ca
Hi
Setup a shared metrics registry with the name metricRegistry, then its shared.
If using java, then
SimpleRegistry map = new SimpleRegistry();
map.put("metricsRegistry, new MetricRegistry());
CamelContext context = new DefaultCamelContext(map);
On Sat, Feb 28, 2015 at 8:28 AM, vivekt wrot
I am using metrics component of type counter in camel route. I do see the
counters and their values reported in the logs every 1 minute, but I want to
access these values via jmx so that I can push them to our dashboard.
Here is the chunk of log file...
2015-02-26 17:23:49,948 | INFO | eporter-t
Hi
What counters are you talking about?
On Thu, Feb 26, 2015 at 7:34 PM, vivekt wrote:
> Hello Claus,
>
> Thank you for your quick reply.
> I do see that the metrics route policy is using a metrics timer to capture
> the data.
> But it does not have the counters values which I am using in the
Hello Claus,
Thank you for your quick reply.
I do see that the metrics route policy is using a metrics timer to capture
the data.
But it does not have the counters values which I am using in the blueprint
context.
Do I have to write my own MetricsRoutePolicy (or extend it) so that all the
counte
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, 20
Hello Claus, I tested Jim's orginal Java class with 2.14.1, but still could
not get the metrics from MetricsRegistryService.
When I invoke dumpStatisticsAsJson() , all the metrics are empty.
Here is the output
"version" : "3.0.0",
"gauges" : { },
"counters" : { },
"histograms" : { },
"met
Hi
See this FAQ
http://camel.apache.org/how-to-use-a-dynamic-uri-in-to.html
On Thu, Nov 13, 2014 at 5:19 AM, James L Greene wrote:
> 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
> cam
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.
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
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
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
gy
> American Electric Power
> One Riverside Plaza, 11th Floor
> Columbus, OH 43125
> Phone: (w) 614-716-2617
> Email: jlgree...@aep.com
>
>
> -Original Message-
> From: Claus Ibsen [mailto:claus.ib...@gmail.com]
> Sent: Friday, November 07, 2014 1:27 AM
> To: user
.org
Subject: Re: camel-metrics Component
This is an EXTERNAL email. STOP. THINK before you CLICK links or OPEN
attachments.
**
Try setting the route policy before adding the routes
On Fri, Nov 7, 2014 at 1:35 AM, James L Greene w
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 files from an i
23 matches
Mail list logo