Skip to content

Commit 383cb4e

Browse files
Added backup-related metrics and dashboard
1 parent 642a923 commit 383cb4e

File tree

6 files changed

+489
-24
lines changed

6 files changed

+489
-24
lines changed

config/grafana/dashboards/Dashboard_1_Node_performance_overview.json

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@
1818
"editable": true,
1919
"fiscalYearStartMonth": 0,
2020
"graphTooltip": 1,
21-
"id": 4,
21+
"id": 2,
2222
"links": [],
2323
"panels": [
2424
{
@@ -4026,8 +4026,8 @@
40264026
},
40274027
{
40284028
"current": {
4029-
"text": "target_database",
4030-
"value": "target_database"
4029+
"text": "postgres",
4030+
"value": "postgres"
40314031
},
40324032
"definition": "label_values(pgwatch_pg_database_wraparound_age_datfrozenxid{cluster=\"$cluster_name\", node_name=\"$node_name\", datname!=\"template1\"},datname)",
40334033
"label": "DB name",
@@ -4050,7 +4050,7 @@
40504050
},
40514051
"timepicker": {},
40524052
"timezone": "utc",
4053-
"title": "1. Postgres node performance overview (high-level)",
4053+
"title": "1. Single node performance overview (high-level)",
40544054
"uid": "f90500a0-a12e-4081-a2f0-07ed96f27915",
4055-
"version": 5
4055+
"version": 2
40564056
}

config/grafana/dashboards/Dashboard_2_Aggregated_query_analysis.json

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@
1818
"editable": true,
1919
"fiscalYearStartMonth": 0,
2020
"graphTooltip": 0,
21-
"id": 1,
21+
"id": 3,
2222
"links": [],
2323
"panels": [
2424
{
@@ -2277,8 +2277,8 @@
22772277
},
22782278
{
22792279
"current": {
2280-
"text": "target_database",
2281-
"value": "target_database"
2280+
"text": "postgres",
2281+
"value": "postgres"
22822282
},
22832283
"definition": "label_values(pgwatch_pg_database_wraparound_age_datfrozenxid{cluster=\"$cluster_name\", node_name=\"$node_name\", datname!=\"template1\"},datname)",
22842284
"label": "DB name",
@@ -2301,7 +2301,7 @@
23012301
},
23022302
"timepicker": {},
23032303
"timezone": "utc",
2304-
"title": "2. Postgres aggregated query performance analysis",
2304+
"title": "2. Query performance analysis (top-N)",
23052305
"uid": "3ceb2e98-639d-48df-8e1f-7686d2052170",
2306-
"version": 5
2306+
"version": 2
23072307
}

config/grafana/dashboards/Dashboard_3_Single_query_analysis.json

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@
1818
"editable": true,
1919
"fiscalYearStartMonth": 0,
2020
"graphTooltip": 0,
21-
"id": 8,
21+
"id": 4,
2222
"links": [],
2323
"panels": [
2424
{
@@ -2173,8 +2173,8 @@
21732173
},
21742174
{
21752175
"current": {
2176-
"text": "target_database",
2177-
"value": "target_database"
2176+
"text": "postgres",
2177+
"value": "postgres"
21782178
},
21792179
"definition": "label_values(pgwatch_pg_database_wraparound_age_datfrozenxid{cluster=\"$cluster_name\", node_name=\"$node_name\", datname!=\"template1\"},datname)",
21802180
"label": "DB name",
@@ -2197,7 +2197,7 @@
21972197
},
21982198
"timepicker": {},
21992199
"timezone": "utc",
2200-
"title": "3. Postgres single query performance analysis",
2200+
"title": "3. Single queryid analysis",
22012201
"uid": "db52944d-b025-4e18-b70b-89c0af3e7e41",
2202-
"version": 26
2202+
"version": 2
22032203
}

config/grafana/dashboards/Dashboard_4_Wait_Sampling_Dashboard.json

Lines changed: 9 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@
1818
"editable": true,
1919
"fiscalYearStartMonth": 0,
2020
"graphTooltip": 0,
21-
"id": 11,
21+
"id": 1,
2222
"links": [],
2323
"panels": [
2424
{
@@ -688,8 +688,10 @@
688688
"allowCustomValue": false,
689689
"current": {
690690
"text": [
691+
"CPU*"
691692
],
692693
"value": [
694+
"CPU*"
693695
]
694696
},
695697
"definition": "label_values(pgwatch_wait_events_total,wait_event_type)",
@@ -711,8 +713,10 @@
711713
"allowCustomValue": false,
712714
"current": {
713715
"text": [
716+
"CPU*"
714717
],
715718
"value": [
719+
"CPU*"
716720
]
717721
},
718722
"definition": "label_values(pgwatch_wait_events_total{wait_event_type=~\"$wait_event_type\"},wait_event)",
@@ -767,8 +771,8 @@
767771
},
768772
{
769773
"current": {
770-
"text": "target_database",
771-
"value": "target_database"
774+
"text": "postgres",
775+
"value": "postgres"
772776
},
773777
"definition": "label_values(pgwatch_pg_database_wraparound_age_datfrozenxid{cluster=\"$cluster_name\", node_name=\"$node_name\", datname!=\"template1\"},datname)",
774778
"label": "DB name",
@@ -791,7 +795,7 @@
791795
},
792796
"timepicker": {},
793797
"timezone": "browser",
794-
"title": "4. Wait sampling dashboard",
798+
"title": "4. Wait event analysis (Active Session History)",
795799
"uid": "a222b233-acef-4bac-a451-1591023e4d4f",
796-
"version": 13
800+
"version": 2
797801
}

0 commit comments

Comments
 (0)