enabled: true
# -- path of the metrics endpoint
path: /apisix/prometheus/metrics
# -- prefix of the metrics
metricPrefix: apisix_
# -- container port where the metrics are exposed
containerPort: 9091
Environment
APISIX version (run apisix version): 3.2.1
Operating system (run uname -a):
OpenResty / Nginx version (run openresty -V or nginx -V):
etcd version, if relevant (run curl http://127.0.0.1:9090/v1/server_info): 3.5.4
APISIX Dashboard version, if relevant: 3.0.0
Plugin runner version, for issues related to plugin runners:
LuaRocks version, for installation issues (run luarocks --version):
Description
I enabled the prometheus plugin and the tencent-cloud-cls plugin.After running for a while, it appears:
[lua] prometheus.lua:920: log_error(): Error while setting 'batch_process_entries{name="tencent-cloud-cls",route_id="00000000000000004305",serveraddr="1.1.1.1"}' to '73': 'no memory' while logging request, client: 1.1.1.2, server: , request: "POST /v1/query HTTP/1.1"
prometheus:
ref: https://apisix.apache.org/docs/apisix/plugins/prometheus/
Environment
apisix version
): 3.2.1uname -a
):openresty -V
ornginx -V
):curl http://127.0.0.1:9090/v1/server_info
): 3.5.4luarocks --version
):