Skip to content
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

[!] differentiate the concepts of source and monitored database #472

Merged
merged 4 commits into from
Jul 13, 2024

Conversation

pashagolub
Copy link
Collaborator

Source represents a configuration how to get databases to monitor. It can be a single database, a group of databases in postgres cluster, a group of databases in HA patroni cluster.

MonitoredDatabase represents a single database to monitor. Unlike source, it means a single physical database connection. Continuous discovery sources (postgres-continuous-discovery, patroni-continuous-discovery, patroni-namespace-discovery) will produce multiple monitored databases.

pgwatch first reads sources (single dbs, postgres and patroni clusters) and then lists all found databases in those as monitored databases

@pashagolub pashagolub self-assigned this Jul 4, 2024
@pashagolub pashagolub added the enhancement New feature or request label Jul 4, 2024
Source represents a configuration how to get databases to monitor.
It can be a single database, a group of databases in postgres cluster,
a group of databases in HA patroni cluster.
MonitoredDatabase represents a single database to monitor. Unlike source,
it means a single physical database connection. Continuous discovery
sources (postgres-continuous-discovery, patroni-continuous-discovery,
patroni-namespace-discovery) will produce multiple monitored databases.
pgwatch first reads sources (single dbs, postgres and patroni clusters)
and then lists all found databases in those as monitored databases
@pashagolub pashagolub changed the title [!] differentiate between the concepts of source and monitored database [!] differentiate the concepts of source and monitored database Jul 13, 2024
@pashagolub pashagolub merged commit ae4e447 into master Jul 13, 2024
8 checks passed
@pashagolub pashagolub deleted the sources-vs-monitoreddbs branch July 13, 2024 16:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant