Skip to content

Commit 978dc11

Browse files
committed
add pgsql service sli dashboard
1 parent fd28ef0 commit 978dc11

File tree

10 files changed

+3962
-9602
lines changed

10 files changed

+3962
-9602
lines changed

files/grafana/node/node-haproxy.json

Lines changed: 506 additions & 970 deletions
Large diffs are not rendered by default.

files/grafana/node/node-overview.json

Lines changed: 21 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -2613,7 +2613,8 @@
26132613
"mode": "absolute",
26142614
"steps": [
26152615
{
2616-
"color": "#3e668f"
2616+
"color": "#3e668f",
2617+
"value": null
26172618
},
26182619
{
26192620
"color": "green",
@@ -2762,7 +2763,8 @@
27622763
"mode": "absolute",
27632764
"steps": [
27642765
{
2765-
"color": "#3e668f"
2766+
"color": "#3e668f",
2767+
"value": null
27662768
},
27672769
{
27682770
"color": "green",
@@ -2912,7 +2914,8 @@
29122914
"mode": "absolute",
29132915
"steps": [
29142916
{
2915-
"color": "#3e668f"
2917+
"color": "#3e668f",
2918+
"value": null
29162919
},
29172920
{
29182921
"color": "green",
@@ -3038,7 +3041,8 @@
30383041
"mode": "absolute",
30393042
"steps": [
30403043
{
3041-
"color": "#346f36cc"
3044+
"color": "#346f36cc",
3045+
"value": null
30423046
}
30433047
]
30443048
},
@@ -3152,7 +3156,8 @@
31523156
"mode": "absolute",
31533157
"steps": [
31543158
{
3155-
"color": "#346f36cc"
3159+
"color": "#346f36cc",
3160+
"value": null
31563161
}
31573162
]
31583163
},
@@ -3253,7 +3258,8 @@
32533258
"mode": "absolute",
32543259
"steps": [
32553260
{
3256-
"color": "#346f36cc"
3261+
"color": "#346f36cc",
3262+
"value": null
32573263
}
32583264
]
32593265
},
@@ -3350,7 +3356,8 @@
33503356
"mode": "absolute",
33513357
"steps": [
33523358
{
3353-
"color": "#3e668f"
3359+
"color": "#3e668f",
3360+
"value": null
33543361
},
33553362
{
33563363
"color": "#346f36cc",
@@ -3453,7 +3460,8 @@
34533460
"mode": "absolute",
34543461
"steps": [
34553462
{
3456-
"color": "#3e668f"
3463+
"color": "#3e668f",
3464+
"value": null
34573465
},
34583466
{
34593467
"color": "#346f36cc",
@@ -3746,7 +3754,7 @@
37463754
"h": 10,
37473755
"w": 8,
37483756
"x": 0,
3749-
"y": 29
3757+
"y": 79
37503758
},
37513759
"id": 130,
37523760
"options": {
@@ -3973,7 +3981,7 @@
39733981
"h": 10,
39743982
"w": 8,
39753983
"x": 8,
3976-
"y": 29
3984+
"y": 79
39773985
},
39783986
"id": 128,
39793987
"options": {
@@ -4079,6 +4087,7 @@
40794087
}
40804088
],
40814089
"mappings": [],
4090+
"noValue": "No Active Services",
40824091
"thresholds": {
40834092
"mode": "absolute",
40844093
"steps": [
@@ -4095,7 +4104,7 @@
40954104
"h": 10,
40964105
"w": 8,
40974106
"x": 16,
4098-
"y": 29
4107+
"y": 79
40994108
},
41004109
"id": 132,
41014110
"options": {
@@ -4183,7 +4192,7 @@
41834192
"h": 17,
41844193
"w": 24,
41854194
"x": 0,
4186-
"y": 39
4195+
"y": 89
41874196
},
41884197
"id": 141,
41894198
"options": {

files/grafana/pgsql/pgsql-cluster.json

Lines changed: 17 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -3390,8 +3390,8 @@
33903390
},
33913391
"links": [
33923392
{
3393-
"title": "PGSQL Queries: RT for Primary ${primary}",
3394-
"url": "/d/pgsql-queries?var-ins=${primary}&viewPanel=68&${__url_time_range}"
3393+
"title": "PGSQL Pgbouncer: ${primary}",
3394+
"url": "/d/pgsql-pgbouncer?var-ins=${primary}&viewPanel=68&${__url_time_range}"
33953395
}
33963396
],
33973397
"mappings": [
@@ -4292,9 +4292,7 @@
42924292
"id": 78,
42934293
"options": {
42944294
"legend": {
4295-
"calcs": [
4296-
"last"
4297-
],
4295+
"calcs": [],
42984296
"displayMode": "table",
42994297
"placement": "right",
43004298
"showLegend": true
@@ -10902,7 +10900,7 @@
1090210900
"h": 7,
1090310901
"w": 12,
1090410902
"x": 0,
10905-
"y": 75
10903+
"y": 38
1090610904
},
1090710905
"id": 98,
1090810906
"options": {
@@ -11079,7 +11077,7 @@
1107911077
"h": 7,
1108011078
"w": 12,
1108111079
"x": 12,
11082-
"y": 75
11080+
"y": 38
1108311081
},
1108411082
"id": 90,
1108511083
"options": {
@@ -11210,7 +11208,7 @@
1121011208
"h": 7,
1121111209
"w": 12,
1121211210
"x": 0,
11213-
"y": 82
11211+
"y": 45
1121411212
},
1121511213
"id": 88,
1121611214
"options": {
@@ -11361,7 +11359,7 @@
1136111359
"h": 7,
1136211360
"w": 12,
1136311361
"x": 12,
11364-
"y": 82
11362+
"y": 45
1136511363
},
1136611364
"id": 104,
1136711365
"links": [
@@ -11555,7 +11553,7 @@
1155511553
"h": 7,
1155611554
"w": 12,
1155711555
"x": 0,
11558-
"y": 89
11556+
"y": 52
1155911557
},
1156011558
"id": 100,
1156111559
"options": {
@@ -11682,7 +11680,7 @@
1168211680
"h": 7,
1168311681
"w": 12,
1168411682
"x": 12,
11685-
"y": 89
11683+
"y": 52
1168611684
},
1168711685
"id": 84,
1168811686
"links": [
@@ -11788,7 +11786,7 @@
1178811786
"h": 9,
1178911787
"w": 17,
1179011788
"x": 0,
11791-
"y": 96
11789+
"y": 59
1179211790
},
1179311791
"id": 86,
1179411792
"links": [
@@ -11897,7 +11895,7 @@
1189711895
"h": 9,
1189811896
"w": 7,
1189911897
"x": 17,
11900-
"y": 96
11898+
"y": 59
1190111899
},
1190211900
"id": 102,
1190311901
"options": {
@@ -12027,7 +12025,7 @@
1202712025
"h": 9,
1202812026
"w": 17,
1202912027
"x": 0,
12030-
"y": 105
12028+
"y": 68
1203112029
},
1203212030
"id": 107,
1203312031
"options": {
@@ -12158,7 +12156,7 @@
1215812156
"h": 9,
1215912157
"w": 7,
1216012158
"x": 17,
12161-
"y": 105
12159+
"y": 68
1216212160
},
1216312161
"id": 105,
1216412162
"options": {
@@ -12334,7 +12332,7 @@
1233412332
"h": 7,
1233512333
"w": 4,
1233612334
"x": 0,
12337-
"y": 115
12335+
"y": 39
1233812336
},
1233912337
"id": 171,
1234012338
"interval": "1s",
@@ -12527,7 +12525,7 @@
1252712525
"h": 7,
1252812526
"w": 20,
1252912527
"x": 4,
12530-
"y": 115
12528+
"y": 39
1253112529
},
1253212530
"id": 172,
1253312531
"interval": "1s",
@@ -12608,7 +12606,7 @@
1260812606
"h": 12,
1260912607
"w": 24,
1261012608
"x": 0,
12611-
"y": 122
12609+
"y": 46
1261212610
},
1261312611
"id": 173,
1261412612
"options": {
@@ -12644,7 +12642,7 @@
1264412642
"type": "row"
1264512643
}
1264612644
],
12647-
"refresh": "5s",
12645+
"refresh": "",
1264812646
"revision": 1,
1264912647
"schemaVersion": 38,
1265012648
"style": "light",

files/grafana/pgsql/pgsql-database.json

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -5534,8 +5534,8 @@
55345534
},
55355535
"links": [
55365536
{
5537-
"title": "PGSQL Queries : QPS for ${ins}",
5538-
"url": "/d/pgsql-queries?var-ins=${ins}&viewPanel=80&${__url_time_range}"
5537+
"title": "PGSQL Pgbouncer : QPS ${ins}",
5538+
"url": "/d/pgsql-pgbouncer?var-ins=${ins}&viewPanel=66&${__url_time_range}"
55395539
}
55405540
],
55415541
"mappings": [
@@ -5625,8 +5625,8 @@
56255625
},
56265626
"links": [
56275627
{
5628-
"title": "PGSQL Queries : Query RT for ${ins}",
5629-
"url": "/d/pgsql-queries?var-ins=${ins}&viewPanel=102&${__url_time_range}"
5628+
"title": "PGSQL Pgbouncer : Query RT ${ins}",
5629+
"url": "/d/pgsql-pgbouncer?var-ins=${ins}&viewPanel=68&${__url_time_range}"
56305630
}
56315631
],
56325632
"mappings": [

files/grafana/pgsql/pgsql-instance.json

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -5460,7 +5460,8 @@
54605460
"mode": "absolute",
54615461
"steps": [
54625462
{
5463-
"color": "green"
5463+
"color": "green",
5464+
"value": null
54645465
}
54655466
]
54665467
},
@@ -5477,8 +5478,8 @@
54775478
"id": 90,
54785479
"links": [
54795480
{
5480-
"title": "PGSQL Queries for Cluster Leader: ${primary}",
5481-
"url": "/d/pgsql-queries?var-ins=${primary}&${__url_time_range}"
5481+
"title": "PGSQL Pgbouncer : ${ins}",
5482+
"url": "/d/pgsql-pgbouncer?var-ins=${ins}&${__url_time_range}"
54825483
}
54835484
],
54845485
"options": {
@@ -5563,7 +5564,8 @@
55635564
"mode": "absolute",
55645565
"steps": [
55655566
{
5566-
"color": "#346f36cc"
5567+
"color": "#346f36cc",
5568+
"value": null
55675569
},
55685570
{
55695571
"color": "red",

0 commit comments

Comments
 (0)