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
My Prometheus Operator load only PodMonitor/ServiceMonitor with a specific label like monitoring: infra.
So this PodMonitor for my PG cluster isn't loaded and I've got no monitoring.
Describe the solution you'd like
Possibility to add additional labels to PodMonitor resource.
Describe alternatives you've considered
The cloudnative-pg chart is setup using these values:
cloudnative-pg:
monitoring:
podMonitorEnabled: truepodMonitorAdditionalLabels:
monitoring: infra
Is there an existing issue already for this feature request/idea?
What problem is this feature going to solve? Why should it be added?
I create a PG cluster with monitoring enabled. A PodMonitor resource is created:
My Prometheus Operator load only PodMonitor/ServiceMonitor with a specific label like
monitoring: infra
.So this PodMonitor for my PG cluster isn't loaded and I've got no monitoring.
Describe the solution you'd like
Possibility to add additional labels to PodMonitor resource.
Describe alternatives you've considered
The cloudnative-pg chart is setup using these values:
It is correctly monitoring:
It could be fixed with
additionalLabels
for the cluster. Like that:Additional context
No.
Backport?
Yes
Are you willing to actively contribute to this feature?
No
Code of Conduct
The text was updated successfully, but these errors were encountered: