Baoyuantop commented on issue #13475:
URL: https://github.com/apache/apisix/issues/13475#issuecomment-4622898471

   In APISIX 3.16.0, `prometheus-cache` is a meta-level `lua_shared_dict`. The 
Helm value `apisix.nginx.luaSharedDicts` only overrides 
`nginx_config.http.lua_shared_dict`, so setting `prometheus-cache` there will 
not affect the actual `prometheus-cache` shared dict used by APISIX.
   
   Please configure it with `apisix.nginx.metaLuaSharedDicts` instead:
   
   ```yaml
   apisix:
     nginx:
       luaSharedDicts:
         - name: prometheus-metrics
           size: 1024m
       metaLuaSharedDicts:
         - name: prometheus-cache
           size: 1024m
   ```
   
   After applying the change, please make sure the APISIX pods are restarted, 
because changing lua_shared_dict size only takes effect after Nginx/APISIX 
restarts.


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