Skip to content
Discussion options

You must be logged in to vote

Hi,
I took inspiration from the presets and defined two different sections for each cluster:_

  • one with kind postgres for the instance level metrics like replication / stat_activity / wal / replication ..., with -instance- in its name . And I include only postgres db (maybe redundant because kind is postgres)
  • one with kind postgres-continuous-discovery for the db level metrics like tables stats , with -userdb- in its name . And I exclude postgres db.

In Grafana, the prometheus query for dbname is amended to filter on -instance- or -userdb- depending on the dashboards.

Replies: 2 comments 1 reply

Comment options

You must be logged in to vote
1 reply
@vadius45
Comment options

Comment options

You must be logged in to vote
0 replies
Answer selected by pashagolub
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