Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [hono-dev] Metrics

Hi Abel


I looked into it - I think it is a natural fit for Ditto, because they use Akka as base. Kamon.io fits very good to Akka or Scala.


Since Vert.x uses Dropwizard Metrics internally, we could be quite sure, that it fits with the Vert.x architecture.


Kamon.io uses always AspectJ Weaver Agent - this is a base question, if we should use such byte code tooling, to really model metrics as an aspect (AOP) - also possible with Spring or Dropwizard Metrics.


Mit freundlichen Grüßen / Best regards

 

Marc Pellmann

 

Bosch Software Innovations GmbH

INST/ECS4

Schöneberger Ufer 89-91

10785 Berlin

GERMANY

www.bosch-si.com

 

Registered office: Berlin, Register court: Amtsgericht Charlottenburg, HRB 148411 B

Executives: Dr. Ing. Rainer Kallenbach, Michael Hahn



Von: hono-dev-bounces@xxxxxxxxxxx <hono-dev-bounces@xxxxxxxxxxx> im Auftrag von Buechner Abel (INST/ECS4) <Abel.Buechner@xxxxxxxxxxxx>
Gesendet: Mittwoch, 22. März 2017 13:52
An: hono-dev@xxxxxxxxxxx
Betreff: Re: [hono-dev] Metrics
 

Hi Marc,


have you had a look at Kamon (http://kamon.io)? It is built to monitor reactive applications and supports a lot of reporter backends. I know that the Eclipse Ditto guys are fans of Kamon.



Best regards

Abel Büchner

Bosch Software Innovations GmbH
INST/ECS4
Schöneberger Ufer 89-91
10785 Berlin
GERMANY
http://www.bosch-si.com

Registered office: Berlin, Register court: Amtsgericht Charlottenburg, HRB 148411 B
Executives: Dr. Ing. Rainer Kallenbach, Michael Hahn

Von: hono-dev-bounces@xxxxxxxxxxx <hono-dev-bounces@xxxxxxxxxxx> im Auftrag von Pellmann Marc (INST/ECS4) <Marc.Pellmann@xxxxxxxxxxxx>
Gesendet: Mittwoch, 22. März 2017 13:27
An: hono-dev@xxxxxxxxxxx
Betreff: [hono-dev] Metrics
 
Hi,


I would like to propose the introduction of metrics in Hono - e.g. the number of connections etc. It should be easily extend-able and since we want to scale out horizontally we need to collect the metrics over all instances - a push system might fit well.


Since Hono built on Vert.x, I looked into it, for possibilities to instrument Hono metrics. It turns out, that Vert.x has a metrics module for there own metrics but no API to collect custom metrics. For there own metrics they have two implementations - one with Dropwizard Metrics (default) and an other with Hawkular - encapsulated over an SPI.


I think for our Hono application it might be overkill to also implement different metrics providers. I think it would be fine to just use Dropwizard Metrics, which has different reporters to send the metrics to e.g. Graphite, Ganglia (or also Hawkular and Prometheus) or just use JMX or logger for development.


There would be also the option to use Spring Boot Actuator, which has there own, more abstract metrics (which will be mapped to Dropwizard Metrics, when in classpath). But for this, Hono would depend on Spring Boot Actuator directly in core code, which is not so nice.


Any thoughts about this or experiences with metrics frameworks?

Mit freundlichen Grüßen / Best regards

 

Marc Pellmann

 

Bosch Software Innovations GmbH

INST/ECS4

Schöneberger Ufer 89-91

10785 Berlin

GERMANY

www.bosch-si.com

 

Registered office: Berlin, Register court: Amtsgericht Charlottenburg, HRB 148411 B

Executives: Dr. Ing. Rainer Kallenbach, Michael Hahn



Back to the top