Description:
The current version of the Helm Chart does not allow scraping of Prometheus metrics. Neither the option to set prometheus annotations or deploy a PodMonitor is included in the Chart.
Steps to Reproduce:
None, but this is a suggested solution: Allow podAnnotations via helm values for Postgres operator by RobKenis · Pull Request #364 · percona/percona-helm-charts · GitHub
Version:
2.2.2
Expected Result:
The option is available to let Prometheus scrape the controller pods of the Postgres operator
I am also wondering if this is the correct way to let Prometheus scrape the controller since the GitHub - prometheus-operator/prometheus-operator: Prometheus Operator creates/configures/manages Prometheus clusters atop Kubernetes supports custom resources instead of annotations.
Hello @robrobrob
Thank you for the report and patch. This could be an Improvement/Feature request. It would be better to record this report in our bug database, as you already submitted a PR on GitHub.
Please report the same at https://perconadev.atlassian.net/, and our PMM dev team will review the request.