Reputation: 792
I wonder if there is an easy way to have a sort a monitoring like NewRelic or even an endpoint to have metrics on my akka-http based server (number of queries per minute, average response time, stats by endpoint, number of 404s, etc...)
My current akka-http server version is 10.0.0 and I use scala 2.11.8
Thanks for your help
Upvotes: 2
Views: 1357
Reputation: 22374
There are many ways. If you need NewRelic, there is an sbt plugin for that: https://github.com/gilt/sbt-newrelic
It will work with akka-http as well, but be careful: akka-http not showing metrics in NewRelic
And there is also kamon integration https://github.com/kamon-io/kamon-akka-http
For manual metrics, you could try: https://github.com/Backline/akka-http-metrics
Upvotes: 3