spring-cloud-gateway icon indicating copy to clipboard operation
spring-cloud-gateway copied to clipboard

Reporting 0 (instead of null) when no traffic was recorded in spring.cloud.gateway.requests.percentile

Open lukasznowak-viacom opened this issue 1 year ago • 4 comments

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?

lukasznowak-viacom avatar Aug 23 '24 13:08 lukasznowak-viacom

@jonatan-ivanov any ideas?

spencergibb avatar Sep 27 '24 00:09 spencergibb

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.

spring-cloud-issues avatar Oct 04 '24 00:10 spring-cloud-issues

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)?

jonatan-ivanov avatar Oct 07 '24 23:10 jonatan-ivanov

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.

spring-cloud-issues avatar Oct 15 '24 03:10 spring-cloud-issues

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.

spring-cloud-issues avatar Oct 22 '24 03:10 spring-cloud-issues