Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

prometheus.lua:920: log_error(): Error while setting 'batch_process_entries{} 'no memory' while logging request #10951

Open
qyk1995 opened this issue Feb 21, 2024 · 2 comments
Labels
bug Something isn't working

Comments

@qyk1995
Copy link

qyk1995 commented Feb 21, 2024

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",server_addr="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/
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):
@smileby
Copy link
Contributor

smileby commented Feb 21, 2024

I saw a PR to optimize it #10869

@shreemaan-abhishek shreemaan-abhishek added the bug Something isn't working label Feb 25, 2024
@shreemaan-abhishek
Copy link
Contributor

any updates @qyk1995 ?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
Status: 📋 Backlog
Development

No branches or pull requests

3 participants