You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I believe the issue is with metric expiration logic.
I was able to reproduce it locally when I set the expiration time to a low value (like expire: 10) and had more than 1 worker process (I tested on 6, but with more workers, it's easier to reproduce).
Current Behavior
there are several k8s clusters running with apisix, but just one cluster (prod cluster) with the problem that apisix report lots of duplicate metrics.
for example:
so we will see lots of error logs from prometheus:
this metrics is too large, we run 6 pod instance of apisix, i just curl one apisix metrics url, i got about 100mb results.
Expected Behavior
No response
Error Logs
all error logs is about the shdict:
We accept the issue of insufficient shared dict memory, just hope to know why apisix report duplicate metrics.
Steps to Reproduce
no ideas
apisix config:
Environment
apisix version
):3.7.0 (helm version: 2.5.0)
uname -a
):Linux cpu-001 5.4.0-192-generic #212-Ubuntu SMP Fri Jul 5 09:47:39 UTC 2024 x86_64 x86_64 x86_64 GNU/Linux
openresty -V
ornginx -V
):openresty/1.21.4.2
The text was updated successfully, but these errors were encountered: