-
Notifications
You must be signed in to change notification settings - Fork 814
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
[postgres] add support for relation schemas #1771
Conversation
syncing with master
Thanks Kostas ! |
Added config syntax example. |
# | ||
# relations: | ||
# - relation_name: another_table | ||
# schemas: public prod |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
schemas should be a yaml list, instead of a space separated list
Thanks for the suggestions, now updated, please take a look. |
Looks good to me! |
[postgres] add support for relation schemas
This change populates an additional tag for postgres relations containing the schema name. With this separate tag we can disambiguate metrics coming from same name tables but in separate schemas (e.g. staging vs production).
In addition we can now limit publishing to specific relation schemas via configuration.
Original issue #1496.