Skip to content

Commit

Permalink
Handle Postgres 17 checkpointer stats
Browse files Browse the repository at this point in the history
Signed-off-by: Tim Sandquist <[email protected]>
  • Loading branch information
tsndqst committed Nov 23, 2024
1 parent f45ea03 commit d67ace5
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions charts/cluster/grafana-dashboard.json
Original file line number Diff line number Diff line change
Expand Up @@ -7753,7 +7753,7 @@
"uid": "${DS_PROMETHEUS}"
},
"exemplar": true,
"expr": "cnpg_pg_stat_bgwriter_checkpoints_req{namespace=~\"$namespace\",pod=~\"$instances\"}",
"expr": "{__name__=~\"cnpg_pg_stat_(bgwriter|checkpointer)_checkpoints_req\",namespace=~\"$namespace\",pod=~\"$instances\"}",
"format": "time_series",
"hide": false,
"instant": false,
Expand All @@ -7768,7 +7768,7 @@
"uid": "${DS_PROMETHEUS}"
},
"exemplar": true,
"expr": "cnpg_pg_stat_bgwriter_checkpoints_timed{namespace=~\"$namespace\",pod=~\"$instances\"}",
"expr": "{__name__=~\"cnpg_pg_stat_(bgwriter|checkpointer)_checkpoints_timed\",namespace=~\"$namespace\",pod=~\"$instances\"}",
"format": "time_series",
"interval": "",
"intervalFactor": 1,
Expand Down Expand Up @@ -7867,7 +7867,7 @@
"uid": "${DS_PROMETHEUS}"
},
"exemplar": true,
"expr": "cnpg_pg_stat_bgwriter_checkpoint_write_time{namespace=~\"$namespace\",pod=~\"$instances\"}",
"expr": "{__name__=~\"cnpg_pg_stat_(bgwriter_checkpoint|checkpointer)_write_time\",namespace=~\"$namespace\",pod=~\"$instances\"}",
"format": "time_series",
"hide": false,
"instant": false,
Expand All @@ -7882,7 +7882,7 @@
"uid": "${DS_PROMETHEUS}"
},
"exemplar": true,
"expr": "cnpg_pg_stat_bgwriter_checkpoint_sync_time{namespace=~\"$namespace\",pod=~\"$instances\"}",
"expr": "{__name__=~\"cnpg_pg_stat_(bgwriter_checkpoint|checkpointer)_sync_time\",namespace=~\"$namespace\",pod=~\"$instances\"}",
"format": "time_series",
"interval": "",
"intervalFactor": 1,
Expand Down

0 comments on commit d67ace5

Please sign in to comment.