2
votes

I have service which handle quite big amount of REST requests (arount 500k per hour). Most of this calls are GET request with diffrent url. To grab metrics from services I'm using spring boot actuator (services are writen with spring boot 2.0 ) with micrometer and prometheus. So on path: /actuator/prometheus I have all metric for prometheus. Now after around 10 min my services stop serving metric, and It could be because a lot of different values in URLs which cause a lot of http_server_requests_seconds_sum metric. I want to disable this metric, or maybe group it for all endpoints.

2

2 Answers

7
votes

You could disable http metrics

management.metrics.enable.http=false
0
votes

I found settings to disable this metric: auto-time-requests But to make it work with reactive endpoint I need also to upgrade Spring Boot to 2.1.0. There is side effect i don't know any information how many RQ handle my service. Maybe now i change the question - is there any way to group this metric ?