You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@apisix.apache.org by "frankkoornstra (via GitHub)" <gi...@apache.org> on 2023/08/28 17:50:28 UTC

[GitHub] [apisix-ingress-controller] frankkoornstra commented on issue #1904: Disable consumer name in Prometheus metrics (because it blows up with high cardinality

frankkoornstra commented on issue #1904:
URL: https://github.com/apache/apisix-ingress-controller/issues/1904#issuecomment-1696100277

   Thanks for the tip. I'm deploying Apisix through the official Helm chart however and I don't think it has any facilities for this. Only thing I can find is this:
   ```yaml
   # -- Observability configuration.
   metrics:
     serviceMonitor:
       # -- Enable or disable Apache APISIX serviceMonitor
       enabled: false
       # -- namespace where the serviceMonitor is deployed, by default, it is the same as the namespace of the apisix
       namespace: ""
       # -- name of the serviceMonitor, by default, it is the same as the apisix fullname
       name: ""
       # -- interval at which metrics should be scraped
       interval: 15s
       # -- @param serviceMonitor.labels ServiceMonitor extra labels
       labels: {}
       # -- @param serviceMonitor.annotations ServiceMonitor annotations
       annotations: {}
   ```
   
   Maybe I can create my own ServiceMonitor instead and do some relabeling.


-- 
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