I am working on a Spring Boot web application project, and I want to be able to collect, and present, some business and performance metrics. For example:
- What is the mean time that a certain endpoint takes to finish its processing?
- What are the payloads of an endpoint that resulted on the highest processing time?
- How many times was an endpoint requested?
- How many different users accessed the application?
- Other business metrics, such as the number of likes given globally, or per region, on a social media app.
When searching for metrics and Spring Boot online, I found a lot of material related to Prometheus, micrometer, actuator, and how it is pretty easy to monitor the application health with this stack. Although, I want to be able to check more than the garbage collector's activity... The metrics I want to collect, for the most part, are not specific to my app, and I wonder if there is anything out there (a more standard solution) to solve this problem, since I believe many people have encountered similar issues.
- What is the standard solution to collecting metrics like the ones I mentioned?
- Is there any way to customize the stack given in order for it to collect those metrics?