monkeyDluffy6017 opened a new pull request, #10869:
URL: https://github.com/apache/apisix/pull/10869

   ### Description
   
   The prometheus metrics we record are stored in LRUs, and although there is 
no memory leakage, the metrics are not eliminated until they reach the upper 
limit of the LRUs. As the metrics become more and more numerous, the prometheus 
server consumes more and more CPU when pulling data, and a mechanism is needed 
to eliminate the outdated data.
   
   Fixes #9627
   
   ### Checklist
   
   - [x] I have explained the need for this PR and the problem it solves
   - [x] I have explained the changes or the new features added to this PR
   - [x] I have added tests corresponding to this change
   - [x] I have updated the documentation to reflect this change
   - [x] I have verified that this change is backward compatible (If not, 
please discuss on the [APISIX mailing 
list](https://github.com/apache/apisix/tree/master#community) first)
   
   


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