database_observability: Add skeleton postgres component #3945
+598
−0
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
PR Description
This adds a new database observability component for postgres. The purpose of this component will be to collect postgres query analysis data; replicating that of the mysql component.
The required collectors for that functionality will be built over time. This change introduces the initial component so that the collectors can subsequently be added.
The most basic
connection_info
collector is added, so we can begin sending thedatabase_observability_connection_info
metric for pg databases.A docs page is added for the new component but the component README is not updated to reference postgres things, while we work out the small details on configuring the DB etc.
The changelog isn't updated to include this new addition, as we don't expect adoption of this component yet - however happy to add an entry if it makes sense to do so.
Which issue(s) this PR fixes
Notes to the Reviewer
PR Checklist