Currently, metrics.serviceMonitor
configuration is very simple, and does not allow setting the namespace. Note that ServiceMonitor
resources are in many environments deployed in a namespace where Prometheus lives (i.e. monitoring
), not in the namespace where the app is deployed. For this reason adding metrics.serviceMonitor.namespace
would be very useful.