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
Is your feature request related to a problem? Please describe.
Package doesn't expose a metrics endpoint. This feature will aim to add a metrics endpoint using postgres-exporter and then configure a servicemonitor to integrate with the UDS Core Prometheus Operator
Describe the solution you'd like
Provide an option in the helm chart to configure monitoring.
Given it's enabled, the postgres operator will be configured via the OperatorConfiguration CR or in the helm chart. Then using the Package CR a service monitor will be created to connect Prometheus Operator and postgres exporter.
Describe alternatives you've considered
I've look and the zalando images and charts don't enable this functionality. Also there are sever issues the most useful of which is zalando/postgres-operator#264 which has been open for year.
The text was updated successfully, but these errors were encountered:
## Description
This PR enhances the package by introducing a metrics endpoint to the
PostgreSQL cluster pods. The implementation involves adding a sidecar to
the pods, which exposes a port for Prometheus to scrape using a
configured PodMonitor.
The changes avoid using the package CR to expose the metrics endpoint
due to its complexity, particularly the need to exempt from
uds/skip-mutate: "true" and to configure the PeerAuthentication CR to
carve out a permissive mTLS port for the PodMonitor.
Monitoring can be enabled, but defaults to false.
## Related Issue
Relates to #51
## Type of change
- [ ] New feature (non-breaking change which adds functionality)
## Checklist before merging
- [ ] Test, docs, adr added or updated as needed
- [ ] [Contributor Guide
Steps](https://github.com/defenseunicorns/uds-package-postgres-operator/blob/main/CONTRIBUTING.md#developer-workflow)
followed
---------
Co-authored-by: Wayne Starr <[email protected]>
Is your feature request related to a problem? Please describe.
Package doesn't expose a metrics endpoint. This feature will aim to add a metrics endpoint using postgres-exporter and then configure a servicemonitor to integrate with the UDS Core Prometheus Operator
Describe the solution you'd like
Provide an option in the helm chart to configure monitoring.
Given it's enabled, the postgres operator will be configured via the OperatorConfiguration CR or in the helm chart. Then using the Package CR a service monitor will be created to connect Prometheus Operator and postgres exporter.
Describe alternatives you've considered
I've look and the zalando images and charts don't enable this functionality. Also there are sever issues the most useful of which is zalando/postgres-operator#264 which has been open for year.
The text was updated successfully, but these errors were encountered: