How to implement statistics using dropwizard metrics and spring-mvc
问题 I am having about 20 APIs and I want to implement statistics like execution time, responses count .. for each API. After doing some research, I came to know that dropwizard metrics is the best approach for implementing such functionalities. I am using Spring MVC framework (non-bootable). Can anybody please suggest me how to integrate Metrics to Spring MVC framework? If possible please provide any code as a reference. 回答1: You can use Metrics for Spring. Here's a github link, which explains