kingluo commented on issue #9627:
URL: https://github.com/apache/apisix/issues/9627#issuecomment-1583946849

   The metrics will be flushed (eventually) to shared memory, and the shared 
memory is [sized lru 
cache](https://github.com/knyar/nginx-lua-prometheus/pull/147) (i.e. eviction 
when the cache is full), which is not counted into the nginx memory, so no 
worry about the OOM.
   The only worry point is the [lookup 
cache](https://github.com/knyar/nginx-lua-prometheus/blob/ec5e7024e1deaba6aecee51d614135268bf2f2f9/prometheus.lua#LL386C6-L386C6)
 for each metric instance, but that's also sized in the [latest 
version](https://github.com/knyar/nginx-lua-prometheus/pull/151).
   
   Which version of APISIX do you use?
   And show your configuration please.
   


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