Java – Jersey records all response times of the service

I have a Java application and I want to record all execution times of each rest service

How to measure the execution time of each request? How do I configure filters?

Solution

The audience for Jersey must be what you want

There are two types of event listeners mentioned in the docs on monitoring and tracking:

The content of this article comes from the network collection of netizens. It is used as a learning reference. The copyright belongs to the original author.
THE END
分享
二维码
< <上一篇
下一篇>>