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: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to