You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@apisix.apache.org by GitBox <gi...@apache.org> on 2021/09/27 08:01:30 UTC

[GitHub] [apisix] zhendongcmss removed a comment on issue #5146: bug: Prometheus http latency sum is nagative

zhendongcmss removed a comment on issue #5146:
URL: https://github.com/apache/apisix/issues/5146#issuecomment-927624807


   > Is there any difference between routes whose latency are negative and those aren't?
   We have many routes. we config the prometheus plugin on the global rules. The prometheus metrics print the route id on each item. It is a good question. I found negative sum mostly  on the route id is 11 and 12. I don't this issue on other route until now. 
   
   
   ```
   apisix_http_latency_count{type="upstream",code="400",method="PUT",route="12",service="",consumer="",node="10.195.152.61"} 1
   apisix_http_latency_sum{type="apisix",code="200",method="GET",route="11",service="",consumer="",node="10.195.152.61"} -162.00309753418
   apisix_http_latency_sum{type="apisix",code="200",method="HEAD",route="13",service="",consumer="",node="10.195.152.61"} 1.0000629425049
   apisix_http_latency_sum{type="apisix",code="200",method="PUT",route="12",service="",consumer="",node="10.195.152.61"} 82853.992879868
   apisix_http_latency_sum{type="apisix",code="204",method="DELETE",route="13",service="",consumer="",node="10.195.152.61"} 88.995412826538
   apisix_http_latency_sum{type="apisix",code="400",method="PUT",route="12",service="",consumer="",node="10.195.152.61"} -8.392333984375e-05
   apisix_http_latency_sum{type="request",code="200",method="GET",route="11",service="",consumer="",node="10.195.152.61"} 1469522.9969025
   apisix_http_latency_sum{type="request",code="200",method="HEAD",route="13",service="",consumer="",node="10.195.152.61"} 134.0000629425
   apisix_http_latency_sum{type="request",code="200",method="PUT",route="12",service="",consumer="",node="10.195.152.61"} 586015.99287987
   apisix_http_latency_sum{type="request",code="204",method="DELETE",route="13",service="",consumer="",node="10.195.152.61"} 28059.995412827
   
   ```


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscribe@apisix.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org