camel-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Mark Nuttall <mknutt...@gmail.com>
Subject Re: Camel Context Metrics
Date Mon, 15 Aug 2016 16:12:10 GMT
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 <
rajith77@gmail.com> wrote:

> Thank you James!
>
> On Mon, Aug 15, 2016 at 11:35 AM, James Strachan
> <james.strachan@gmail.com> 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
> > containers, kubernetes and any JVM which contains JMX or Camel.
> >
> > Adding Agent Bond to any JVM enables it for Jolokia management/operations
> > and Prometheus monitoring:
> > https://github.com/fabric8io/agent-bond
> >
> > (we do this by default to any project created in fabric8)
> >
> > We then get a Camel dashboard for all containers running Camel OOTB. To
> see
> > an example check out (13:10) in this video: https://vimeo.com/173353537
> >
> > On 15 August 2016 at 16:30, Rajith Muditha Attapattu <rajith77@gmail.com
> >
> > wrote:
> >
> >> 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
> >> connecting to all of them via a hawtio console want scale well.
> >>
> >> Whats the best way to gather the metrics at the application level?
> >>
> >> (After which it will be sent to an external source like elastic search)
> >>
> >>
> >> 1. Access the info from JMX (programatically)
> >>
> >>
> >> 2. Implement some sort of Listener interface to get notified.
> >>
> >>
> >> I prefer the latter, but the former is fine as well.
> >>
> >> --
> >> Regards,
> >>
> >> Rajith Muditha Attapattu
> >>
> >
> >
> >
> > --
> > James
> > -------
> > Red Hat
> >
> > Twitter: @jstrachan
> > Email: james.strachan@gmail.com
> > Blog: https://medium.com/@jstrachan/
> >
> > fabric8: http://fabric8.io/
> > open source microservices platform
>
>
>
> --
> Regards,
>
> Rajith Muditha Attapattu
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message