Camel rest route w Spring ControllerAdvice?

2021-03-02 Thread Stephen Bassett
I have a Spring app. I created an ExceptionHandler class and annotated it with @ControllerAdvice. Exceptions thrown from my app are handled there. However, an exception thrown from within a Camel route that is a @RestController and has a restI() route will not be handled in my ExceptionHandler

Prometheus metrics for success/failure

2020-07-01 Thread Stephen Bassett
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