Failures and exceptions should be identified via logs. Camel will log
those. You shouldn't have enough of them to warrant metrics.

Premethius is a metrics system. JMX is just a to access things in the jvm.
Micrometer will do some of what JMX will do. Camel is going to use
micrometer to create the metrics. So just go ahead and use it to publish
the metrics. It is a lot less work than trying to use JMX.

On Wed, Jul 1, 2020, 11:16 AM Stephen Bassett <sbassett...@gmail.com> wrote:

> I would like to monitor Camel routes and track down issues on routes that
> are failing or throwing exceptions.
>
> For folks out there using Camel+Micrometer+Prometheus to gather metrics:
> can you get metrics related to success/failure rates of Camel routes in
> Prometheus? Can you use the metrics to identify problematic routes?
>
> Follow up question: has anyone tried getting Camel metrics via JMX? How
> does that compare with Prometheus?
>
> Thanks
>
> Steve
>

Reply via email to