-
Notifications
You must be signed in to change notification settings - Fork 2.7k
Description
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.
apisix/conf/config.yaml.example
Line 182 in 96214f6
| meta: |
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 -Vornginx -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):
Metadata
Metadata
Assignees
Labels
Type
Projects
Status