Fuchange opened a new issue #4809:
URL: https://github.com/apache/apisix/issues/4809


   ### Issue description
   
   I use the prometheus plugin to collect statistics of apifix . But when I 
restart APISX, apisix_http_status is cleared.
   
   For example, I:
   
   1. Use routing **A**  2 times
   2. Restart APISIX
   3. Use routing **A**  5 times
   
   I hope to see `apisix_http_status{route_name="A"} 7` in prometheus, but it 
will be 5.
   
   Can anyone help ?
   
   ### Environment
   
   Request help without environment information will be ignored or closed.
   
   * apisix version (cmd: `apisix version`): 2.4
   * OpenResty / Nginx version (cmd: `nginx -V` or `openresty -V`):  
openresty/1.19.3.1
   * etcd version, if have (cmd: run `curl 
http://127.0.0.1:9090/v1/server_info` to get the info from server-info API): 
3.4.0
   


-- 
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]


Reply via email to