akka-http
akka-http copied to clipboard
+htp #1025 Implement client pool monitoring
This commit introduces a first attempt at a generic statistics and metrics mechanism to akka-http, so we can allow users to use their monitoring implementation of choice.
Metrics are sent to the system event bus through HttpMeasurements messages, which wrap a sealed trait (right now limited to Gauge only).
This commit adds client pool monitoring only, but for both pool implementations. We can later add request monitoring (times, status codes), and server monitoring.
Fixes #1025 .
This may also make issues like https://github.com/akka/akka-http/issues/843 and https://github.com/akka/akka-http/issues/1186 easier to debug, by showing how much is connected / queued up at any point in time.
Test FAILed.
Test FAILed.
Test PASSed.
@akka/akka-http-team tests green, ready for review.
Thanks a lot, @jypma. Just wanted to say, that I didn't get to reviewing your PRs in detail due to holidays and other duties. Will hopefully get to it soon!
This looks neat, any updates?
@ANorwell there is new Pool implementation under way: https://github.com/akka/akka-http/pull/1533
Test FAILed.
Test FAILed.
Test FAILed.
Test FAILed.
Test FAILed.
Test FAILed.
Test PASSed.
@akka/akka-http-team Tests green. Anyone willing to take a look?
Test FAILed.
Test FAILed.
Did this ever go anywhere? Happy to jump in and help push this forward if it's needed.
At least one pull request committer is not linked to a user. See https://help.github.com/en/articles/why-are-my-commits-linked-to-the-wrong-user#commits-are-not-linked-to-any-user
Test FAILed.
!!! Couldn't read commit file !!!