hebbaa opened a new issue, #12774:
URL: https://github.com/apache/apisix/issues/12774

   ### Current Behavior
   
   As per the document the  value lua_shared_dict prometheus-metrics and 
lua_shared_dict prometheus-cache  overriden using 
    nginx_config:
    
         meta:
           lua_shared_dict:              # Nginx Lua shared memory zone. Size 
units are m or k.
             prometheus-metrics: 300m
             prometheus-cache: 30m    :q!   # Cache the calculated metrics data 
text.
   
   But this doesn't work.
   
   
   ### Expected Behavior
   
   Overriding values should work as per the document.
   
https://github.com/apache/apisix/blob/96214f6bf98e332fc3f35bd8370fa4719dce8637/conf/config.yaml.example#L182
   
   
   ### Error Logs
   
   _No response_
   
   ### Steps to Reproduce
   
   Try to override and restart .
   
   ### Environment
   
   - APISIX version (run `apisix version`):apisix version
   /usr/bin/luajit -e package.path = 
'/usr/local/apisix/deps/share/lua/5.1/?/init.lua;' .. package.path 
./apisix/cli/apisix.lua version
   3.14.1
   
   - Operating system (run `uname -a`):
   - OpenResty / Nginx version (run `openresty -V` or `nginx -V`):nginx 
version: openresty/1.27.1.2 (x86_64-pc-linux-gnu)
   built by gcc 15.2.0 (Wolfi 15.2.0-r3) 
   built with OpenSSL 3.6.0 1 Oct 2025
   TLS SNI support enabled
   
   - etcd version, if relevant (run `curl 
http://127.0.0.1:9090/v1/server_info`):
   - APISIX Dashboard version, if relevant:
   - Plugin runner version, for issues related to plugin runners:
   - LuaRocks version, for installation issues (run `luarocks --version`):
   


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