We are building a Java server exposing a whole bunch of REST APIs to our clients. The APIs makes HTTP call to other services and also makes database calls. We want to profile each APIs to understand what out of process calls it made, their average completion time, success/failure counts etc. We can write our own code to accomplish this but before that just wonder if there is any Java library that already exists to accomplish this?
Thank you.