dimanche 8 mars 2015

Spring Boot defines REST Interface, want to time Request - Response

I'm using Spring Boot to define a REST Interface and want to define a metric that times Request to Response.


I could just start the timer, when the function is called and stop it at the return, but that seems not right, since I don't know when Spring sends out the actual message. Is this possible without messing with the actual code behind Spring?


Aucun commentaire:

Enregistrer un commentaire