-
Notifications
You must be signed in to change notification settings - Fork 1
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
feat(metrics): building blocks for postgres exporter #53
Conversation
… the perrauth exception
… the perrauth exception
@Racer159 @zachariahmiller - Thanks for the support on this. I think I've got us to a better place with all initial issues resolved. Noting that the sidecar config is now in the more specific values files as it seems helm isn't able to merge the values in that array so I'm only getting the content of the values file with most precedence. Please let me know if there is anything else you'd like to see here. |
Co-authored-by: Wayne Starr <[email protected]>
Co-authored-by: Wayne Starr <[email protected]>
Co-authored-by: Wayne Starr <[email protected]>
## Description This adds the Made for UDS badge now that monitoring is in as of #53 ## Related Issue Fixes #52 ## Type of change - [ ] Bug fix (non-breaking change which fixes an issue) - [ ] New feature (non-breaking change which adds functionality) - [X] Other (security config, docs update, etc) ## Checklist before merging - [X] Test, docs, adr added or updated as needed - [X] [Contributor Guide Steps](https://github.com/defenseunicorns/uds-package-postgres-operator/blob/main/CONTRIBUTING.md#developer-workflow) followed
🤖 I have created a release *beep* *boop* --- ## [1.12.2-uds.2](v1.12.2-uds.1...v1.12.2-uds.2) (2024-07-31) ### Features * **metrics:** building blocks for postgres exporter ([#53](#53)) ([c2a47bc](c2a47bc)) ### Miscellaneous * add `Made for UDS` badge ([#57](#57)) ([2aa0328](2aa0328)) * **deps:** update postgres support dependencies ([#50](#50)) ([18c6c03](18c6c03)) * **deps:** update postgres support dependencies ([#56](#56)) ([a79c9c6](a79c9c6)) * **deps:** update support-deps to v3.25.15 ([#55](#55)) ([84d4c33](84d4c33)) --- This PR was generated with [Release Please](https://github.com/googleapis/release-please). See [documentation](https://github.com/googleapis/release-please#release-please). Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
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
Checklist before merging