zhendongcmss edited a comment on issue #5146:
URL: https://github.com/apache/apisix/issues/5146#issuecomment-927625603
> 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_sum{type="apisix",code="200",method="GET",route="11",service="",consumer="",node="1"}
-155.00492858887
apisix_http_latency_sum{type="apisix",code="200",method="HEAD",route="13",service="",consumer="",node="10.1"}
1.0000629425049
apisix_http_latency_sum{type="apisix",code="200",method="PUT",route="12",service="",consumer="",node="101"}
82853.992879868
apisix_http_latency_sum{type="apisix",code="204",method="DELETE",route="13",service="",consumer="",node="11"}
88.995412826538
apisix_http_latency_sum{type="apisix",code="400",method="PUT",route="12",service="",consumer="",node="10.11"}
-8.392333984375e-05
```
--
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: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]