apisix-helm-chart
apisix-helm-chart copied to clipboard
Nginx errors in metric. Increase lua_shared_dict prometheus-metrics value in helm.
Hello, we are facing an issue described at https://github.com/apache/apisix/issues/7349. Please advise on how to add the nginx parameter during deployment via the Helm chart:
http:
lua_shared_dict:
prometheus-metrics: 10m
After adding via customLuaSharedDicts:, I encountered the following error:
[emerg] 1#1: the size 536870912 of shared memory zone "prometheus-metrics" conflicts with already declared size 10485760 in /usr/local/apisix/conf/nginx.conf:100
The reason for adding the parameter is increasing errors in the apisix_nginx_metric_errors_total metric:
It has also been noticed that when a certain number of errors is reached, the metrics stop displaying correctly.