Counting active accounts with Metrics

Based on a request parameter in a servlet context Recently I had the task to report active accounts based on http requests. Here I’m going to show you my solution with Dropwizard Metrics. Basically I am using a servlet filter togehter with an counter. Each account has its own counter. So I have a ConcurrentHashMap […]