You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@apisix.apache.org by "luarx (via GitHub)" <gi...@apache.org> on 2025/10/16 08:58:51 UTC
[I] feat: Apisix Prometheus metrics - Disable unneeded labels [apisix]
luarx opened a new issue, #12679:
URL: https://github.com/apache/apisix/issues/12679
### Description
Iād like the option to disable unused metric labels in order to **reduce APISIX Prometheus metrics cardinality and prevent overflow errors**, such as those mentioned in [this issue](https://github.com/apache/apisix/issues?q=is%3Aissue%20state%3Aopen%20prometheus%20overflow)
Another solution is about configure the specific metric labels to use, example:
```
prometheus:
metric_labels:
http_status: true
route: false
service: false
consumer: false
node: false
```
Thanks in advance!
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: notifications-unsubscribe@apisix.apache.org.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [I] feat: Apisix Prometheus metrics - Disable unneeded labels/metrics [apisix]
Posted by "manueljishi (via GitHub)" <gi...@apache.org>.
manueljishi commented on issue #12679:
URL: https://github.com/apache/apisix/issues/12679#issuecomment-3647015108
Hello, I'm also interested in this. As an initial POC would it be okay to disable certain labels globally? Or would we need to configure labels for each individual metric?
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: notifications-unsubscribe@apisix.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [I] feat: Apisix Prometheus metrics - Disable unneeded labels/metrics [apisix]
Posted by "vvvegero97 (via GitHub)" <gi...@apache.org>.
vvvegero97 commented on issue #12679:
URL: https://github.com/apache/apisix/issues/12679#issuecomment-3919196961
Greetings! This it vital for me aswell. Due to HPA and big number of constantly changing pods' ips the metrics overflow really fast. Would like to see this feature in the closest future to disable noise and make production metrics more stable and reliable!
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: notifications-unsubscribe@apisix.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [I] feat: Apisix Prometheus metrics - Disable unneeded labels/metrics [apisix]
Posted by "shreemaan-abhishek (via GitHub)" <gi...@apache.org>.
shreemaan-abhishek closed issue #12679: feat: Apisix Prometheus metrics - Disable unneeded labels/metrics
URL: https://github.com/apache/apisix/issues/12679
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: notifications-unsubscribe@apisix.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [I] feat: Apisix Prometheus metrics - Disable unneeded labels [apisix]
Posted by "Baoyuantop (via GitHub)" <gi...@apache.org>.
Baoyuantop commented on issue #12679:
URL: https://github.com/apache/apisix/issues/12679#issuecomment-3440483831
Hi @luarx, can we discuss this in one issue? I'll close the other one first, let's discuss it here.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: notifications-unsubscribe@apisix.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [I] feat: Apisix Prometheus metrics - Disable unneeded labels/metrics [apisix]
Posted by "luarx (via GitHub)" <gi...@apache.org>.
luarx commented on issue #12679:
URL: https://github.com/apache/apisix/issues/12679#issuecomment-3570576649
Sure, I have updated this task with the info of the other one š
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: notifications-unsubscribe@apisix.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org