spring-cloud-gateway
spring-cloud-gateway copied to clipboard
Reporting 0 (instead of null) when no traffic was recorded in spring.cloud.gateway.requests.percentile
I am observing that micrometer reports 0 instead of null when there is no traffic for spring.cloud.gateway.requests.percentile metric. We have configuration for DistributionStatisticConfig, but this did not helped. The problem is not observed for http.server.requests.percentile, so it is for sure somehow related to gateway implementation.
Any idea what could be the problem?
@jonatan-ivanov any ideas?
If you would like us to look at this issue, please provide the requested information. If the information is not provided within the next 7 days this issue will be closed.
I'm afraid this is not enough info for me to be able to understand the issue. Which registry are you using? What time series reports 0? Could you please show us an example output? If it is a counter/gauge why should it report null? (null is not a number, 0 is) How would reporting null look like (example)?
If you would like us to look at this issue, please provide the requested information. If the information is not provided within the next 7 days this issue will be closed.
Closing due to lack of requested feedback. If you would like us to look at this issue, please provide the requested information and we will re-open the issue.