Skip to content
Discussion options

You must be logged in to vote

Yes, it's possible.

Just run as many pgwatch instances as you want but specify the same sink for metrics:

./pgwatch3 --config=<env var, local file, db>  --sink=postgresql://pgwatch3@targethost/pgwatch3_metrics

in pgwatch3 you may specify as many parallel sinks as you want, thus you can have two copies of measurements, e.g. one local and one in a global database:

./pgwatch3 ...  --sink=jsonfile://metrics.json  --sink=postgresql://pgwatch3@localhost/pgwatch3_metrics --sink=prometheus://:9127

Replies: 1 comment 3 replies

Comment options

You must be logged in to vote
3 replies
@ondar
Comment options

@ondar
Comment options

@pashagolub
Comment options

Answer selected by ondar
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants