Srdan

Exposing Finatra finagle server metrics via APM/Wily

Discussion created by Srdan on Sep 12, 2015
Latest reply on Sep 14, 2015 by Guenter_Grossberger

Hi, I recently started playing a bit with Finatra 2.x (Scala based, REST API) and as I explored a bit what's behind (twitter-server and finagle) they seem to offer a bunch of metrics out of the box via it's twitter-commons metrics albeit only via JSON.

As by luck a bridge between twitter-metrics and dropwizard metrics already existed and that provided a way to expose the metrics in a dynamic way via JMX https://github.com/rlazoti/finagle-metrics at that point, you can expose all that the library captures.

If anyone else gives this stack a go and expose these metrics over Wily, feel free to share your experiences here.

 

Best,

Srdan

Outcomes