1
0
mirror of https://github.com/Chipazawra/v8-1c-cluster-pde.git synced 2024-12-25 01:32:38 +02:00

change grafana version

This commit is contained in:
Anton 2022-01-10 10:25:12 +03:00
parent fa6991fa74
commit 706e5dd17c
2 changed files with 155 additions and 201 deletions

View File

@ -31,7 +31,7 @@ services:
org.label-schema.group: "monitoring" org.label-schema.group: "monitoring"
grafana: grafana:
image: grafana/grafana:8.3.3 image: grafana/grafana:8.1.5
container_name: grafana container_name: grafana
volumes: volumes:
- grafana_data:/var/lib/grafana - grafana_data:/var/lib/grafana

View File

@ -18,14 +18,15 @@
} }
] ]
}, },
"description": "",
"editable": true, "editable": true,
"fiscalYearStartMonth": 0, "gnetId": null,
"graphTooltip": 0, "graphTooltip": 0,
"id": 6, "id": 1,
"links": [], "links": [],
"liveNow": false,
"panels": [ "panels": [
{ {
"datasource": null,
"fieldConfig": { "fieldConfig": {
"defaults": { "defaults": {
"color": { "color": {
@ -69,15 +70,11 @@
}, },
"showHeader": true "showHeader": true
}, },
"pluginVersion": "8.3.3", "pluginVersion": "8.1.5",
"targets": [ "targets": [
{ {
"datasource": { "exemplar": true,
"type": "prometheus", "expr": "rp_hosts_running{}",
"uid": "PBFA97CFB590B2093"
},
"exemplar": false,
"expr": "rp_hosts_enable{}",
"format": "table", "format": "table",
"instant": true, "instant": true,
"interval": "", "interval": "",
@ -92,7 +89,6 @@
"options": { "options": {
"include": { "include": {
"names": [ "names": [
"Time",
"cluster", "cluster",
"pid", "pid",
"port", "port",
@ -106,6 +102,7 @@
"type": "table" "type": "table"
}, },
{ {
"datasource": null,
"fieldConfig": { "fieldConfig": {
"defaults": { "defaults": {
"color": { "color": {
@ -147,15 +144,12 @@
"fields": "", "fields": "",
"values": false "values": false
}, },
"text": {},
"textMode": "auto" "textMode": "auto"
}, },
"pluginVersion": "8.3.3", "pluginVersion": "8.1.5",
"targets": [ "targets": [
{ {
"datasource": {
"type": "prometheus",
"uid": "PBFA97CFB590B2093"
},
"exemplar": true, "exemplar": true,
"expr": "rp_hosts_active{}", "expr": "rp_hosts_active{}",
"interval": "", "interval": "",
@ -168,6 +162,7 @@
"type": "stat" "type": "stat"
}, },
{ {
"datasource": null,
"fieldConfig": { "fieldConfig": {
"defaults": { "defaults": {
"color": { "color": {
@ -221,26 +216,20 @@
"pluginVersion": "8.3.3", "pluginVersion": "8.3.3",
"targets": [ "targets": [
{ {
"datasource": {
"type": "prometheus",
"uid": "PBFA97CFB590B2093"
},
"exemplar": true, "exemplar": true,
"expr": "rp_hosts_enable{}", "expr": "rp_hosts_enable{}",
"format": "time_series",
"hide": false,
"instant": false,
"interval": "", "interval": "",
"legendFormat": "pid {{pid}}", "legendFormat": "{{pid}}",
"refId": "B" "refId": "A"
} }
], ],
"title": "rp_hosts_active", "title": "rp_hosts_enable",
"transformations": [], "transformations": [],
"transparent": true, "transparent": true,
"type": "state-timeline" "type": "state-timeline"
}, },
{ {
"datasource": null,
"description": "", "description": "",
"fieldConfig": { "fieldConfig": {
"defaults": { "defaults": {
@ -295,17 +284,11 @@
"pluginVersion": "8.3.3", "pluginVersion": "8.3.3",
"targets": [ "targets": [
{ {
"datasource": {
"type": "prometheus",
"uid": "PBFA97CFB590B2093"
},
"exemplar": true, "exemplar": true,
"expr": "rp_hosts_running{}", "expr": "rp_hosts_running",
"hide": false,
"instant": false,
"interval": "", "interval": "",
"legendFormat": "pid {{pid}}", "legendFormat": "{{pid}}",
"refId": "B" "refId": "A"
} }
], ],
"title": "rp_hosts_running", "title": "rp_hosts_running",
@ -314,6 +297,7 @@
"type": "state-timeline" "type": "state-timeline"
}, },
{ {
"datasource": null,
"description": "", "description": "",
"fieldConfig": { "fieldConfig": {
"defaults": { "defaults": {
@ -364,7 +348,8 @@
"value": 80 "value": 80
} }
] ]
} },
"unit": "deckbytes"
}, },
"overrides": [] "overrides": []
}, },
@ -387,14 +372,10 @@
}, },
"targets": [ "targets": [
{ {
"datasource": {
"type": "prometheus",
"uid": "PBFA97CFB590B2093"
},
"exemplar": true, "exemplar": true,
"expr": "rp_hosts_memory{}", "expr": "rp_hosts_memory{} ",
"interval": "", "interval": "",
"legendFormat": "pid {{pid}} ", "legendFormat": "{{pid}}",
"refId": "A" "refId": "A"
} }
], ],
@ -403,6 +384,7 @@
"type": "timeseries" "type": "timeseries"
}, },
{ {
"datasource": null,
"description": "", "description": "",
"fieldConfig": { "fieldConfig": {
"defaults": { "defaults": {
@ -473,14 +455,10 @@
}, },
"targets": [ "targets": [
{ {
"datasource": {
"type": "prometheus",
"uid": "PBFA97CFB590B2093"
},
"exemplar": true, "exemplar": true,
"expr": "rp_hosts_connections{}", "expr": "rp_hosts_connections{} ",
"interval": "", "interval": "",
"legendFormat": "pid {{pid}} ", "legendFormat": "{{pid}}",
"refId": "A" "refId": "A"
} }
], ],
@ -489,6 +467,7 @@
"type": "timeseries" "type": "timeseries"
}, },
{ {
"datasource": null,
"description": "", "description": "",
"fieldConfig": { "fieldConfig": {
"defaults": { "defaults": {
@ -559,14 +538,10 @@
}, },
"targets": [ "targets": [
{ {
"datasource": {
"type": "prometheus",
"uid": "PBFA97CFB590B2093"
},
"exemplar": true, "exemplar": true,
"expr": "rp_hosts_avg_threads{}", "expr": "rp_hosts_avg_threads{} ",
"interval": "", "interval": "",
"legendFormat": "pid {{pid}} ", "legendFormat": "{{pid}}",
"refId": "A" "refId": "A"
} }
], ],
@ -575,6 +550,7 @@
"type": "timeseries" "type": "timeseries"
}, },
{ {
"datasource": null,
"description": "", "description": "",
"fieldConfig": { "fieldConfig": {
"defaults": { "defaults": {
@ -645,14 +621,10 @@
}, },
"targets": [ "targets": [
{ {
"datasource": {
"type": "prometheus",
"uid": "PBFA97CFB590B2093"
},
"exemplar": true, "exemplar": true,
"expr": "rp_hosts_available_perfomance{}", "expr": "rp_hosts_available_perfomance",
"interval": "", "interval": "",
"legendFormat": "pid {{pid}} ", "legendFormat": "{{pid}}",
"refId": "A" "refId": "A"
} }
], ],
@ -661,6 +633,7 @@
"type": "timeseries" "type": "timeseries"
}, },
{ {
"datasource": null,
"description": "", "description": "",
"fieldConfig": { "fieldConfig": {
"defaults": { "defaults": {
@ -708,7 +681,8 @@
"value": 80 "value": 80
} }
] ]
} },
"unit": "s"
}, },
"overrides": [] "overrides": []
}, },
@ -731,14 +705,10 @@
}, },
"targets": [ "targets": [
{ {
"datasource": {
"type": "prometheus",
"uid": "PBFA97CFB590B2093"
},
"exemplar": true, "exemplar": true,
"expr": "rp_hosts_avg_call_time{}", "expr": "rp_hosts_avg_call_time",
"interval": "", "interval": "",
"legendFormat": "pid {{pid}} ", "legendFormat": "{{pid}}",
"refId": "A" "refId": "A"
} }
], ],
@ -747,6 +717,7 @@
"type": "timeseries" "type": "timeseries"
}, },
{ {
"datasource": null,
"description": "", "description": "",
"fieldConfig": { "fieldConfig": {
"defaults": { "defaults": {
@ -794,7 +765,8 @@
"value": 80 "value": 80
} }
] ]
} },
"unit": "deckbytes"
}, },
"overrides": [] "overrides": []
}, },
@ -817,14 +789,10 @@
}, },
"targets": [ "targets": [
{ {
"datasource": {
"type": "prometheus",
"uid": "PBFA97CFB590B2093"
},
"exemplar": true, "exemplar": true,
"expr": "rp_hosts_selection_size{}", "expr": "rp_hosts_selection_size",
"interval": "", "interval": "",
"legendFormat": "pid {{pid}} ", "legendFormat": "{{pid}}",
"refId": "A" "refId": "A"
} }
], ],
@ -833,6 +801,7 @@
"type": "timeseries" "type": "timeseries"
}, },
{ {
"datasource": null,
"description": "", "description": "",
"fieldConfig": { "fieldConfig": {
"defaults": { "defaults": {
@ -880,7 +849,8 @@
"value": 80 "value": 80
} }
] ]
} },
"unit": "s"
}, },
"overrides": [] "overrides": []
}, },
@ -903,14 +873,10 @@
}, },
"targets": [ "targets": [
{ {
"datasource": {
"type": "prometheus",
"uid": "PBFA97CFB590B2093"
},
"exemplar": true, "exemplar": true,
"expr": "rp_hosts_memory_excess_time{}", "expr": "rp_hosts_memory_excess_time",
"interval": "", "interval": "",
"legendFormat": "pid {{pid}} ", "legendFormat": "{{pid}}",
"refId": "A" "refId": "A"
} }
], ],
@ -919,6 +885,7 @@
"type": "timeseries" "type": "timeseries"
}, },
{ {
"datasource": null,
"description": "", "description": "",
"fieldConfig": { "fieldConfig": {
"defaults": { "defaults": {
@ -966,7 +933,8 @@
"value": 80 "value": 80
} }
] ]
} },
"unit": "s"
}, },
"overrides": [] "overrides": []
}, },
@ -989,22 +957,19 @@
}, },
"targets": [ "targets": [
{ {
"datasource": {
"type": "prometheus",
"uid": "PBFA97CFB590B2093"
},
"exemplar": true, "exemplar": true,
"expr": "rp_hosts_capacity{}", "expr": "rp_hosts_avg_lock_call_time{}",
"interval": "", "interval": "",
"legendFormat": "pid {{pid}} ", "legendFormat": "{{pid}}",
"refId": "A" "refId": "A"
} }
], ],
"title": "rp_hosts_available_capacity", "title": "rp_hosts_avg_lock_call_time",
"transparent": true, "transparent": true,
"type": "timeseries" "type": "timeseries"
}, },
{ {
"datasource": null,
"description": "", "description": "",
"fieldConfig": { "fieldConfig": {
"defaults": { "defaults": {
@ -1052,7 +1017,8 @@
"value": 80 "value": 80
} }
] ]
} },
"unit": "s"
}, },
"overrides": [] "overrides": []
}, },
@ -1075,14 +1041,10 @@
}, },
"targets": [ "targets": [
{ {
"datasource": {
"type": "prometheus",
"uid": "PBFA97CFB590B2093"
},
"exemplar": true, "exemplar": true,
"expr": "rp_hosts_avg_db_call_time{}", "expr": "rp_hosts_avg_db_call_time",
"interval": "", "interval": "",
"legendFormat": "pid {{pid}} ", "legendFormat": "{{pid}}",
"refId": "A" "refId": "A"
} }
], ],
@ -1091,6 +1053,7 @@
"type": "timeseries" "type": "timeseries"
}, },
{ {
"datasource": null,
"description": "", "description": "",
"fieldConfig": { "fieldConfig": {
"defaults": { "defaults": {
@ -1138,7 +1101,8 @@
"value": 80 "value": 80
} }
] ]
} },
"unit": "s"
}, },
"overrides": [] "overrides": []
}, },
@ -1148,92 +1112,6 @@
"x": 6, "x": 6,
"y": 18 "y": 18
}, },
"id": 26,
"options": {
"legend": {
"calcs": [],
"displayMode": "table",
"placement": "right"
},
"tooltip": {
"mode": "single"
}
},
"targets": [
{
"datasource": {
"type": "prometheus",
"uid": "PBFA97CFB590B2093"
},
"exemplar": true,
"expr": "rp_hosts_avg_db_call_time{}",
"interval": "",
"legendFormat": "pid {{pid}} ",
"refId": "A"
}
],
"title": "rp_hosts_avg_db_call_time",
"transparent": true,
"type": "timeseries"
},
{
"description": "",
"fieldConfig": {
"defaults": {
"color": {
"mode": "palette-classic"
},
"custom": {
"axisLabel": "",
"axisPlacement": "auto",
"barAlignment": 0,
"drawStyle": "line",
"fillOpacity": 0,
"gradientMode": "none",
"hideFrom": {
"legend": false,
"tooltip": false,
"viz": false
},
"lineInterpolation": "linear",
"lineWidth": 1,
"pointSize": 5,
"scaleDistribution": {
"type": "linear"
},
"showPoints": "auto",
"spanNulls": false,
"stacking": {
"group": "A",
"mode": "none"
},
"thresholdsStyle": {
"mode": "off"
}
},
"mappings": [],
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "green",
"value": null
},
{
"color": "red",
"value": 80
}
]
}
},
"overrides": []
},
"gridPos": {
"h": 6,
"w": 6,
"x": 12,
"y": 18
},
"id": 28, "id": 28,
"options": { "options": {
"legend": { "legend": {
@ -1247,14 +1125,10 @@
}, },
"targets": [ "targets": [
{ {
"datasource": {
"type": "prometheus",
"uid": "PBFA97CFB590B2093"
},
"exemplar": true, "exemplar": true,
"expr": "rp_hosts_avg_server_call_time{}", "expr": "rp_hosts_avg_server_call_time",
"interval": "", "interval": "",
"legendFormat": "pid {{pid}} ", "legendFormat": "{{pid}}",
"refId": "A" "refId": "A"
} }
], ],
@ -1263,6 +1137,91 @@
"type": "timeseries" "type": "timeseries"
}, },
{ {
"datasource": null,
"description": "",
"fieldConfig": {
"defaults": {
"color": {
"mode": "palette-classic"
},
"custom": {
"axisLabel": "",
"axisPlacement": "auto",
"barAlignment": 0,
"drawStyle": "line",
"fillOpacity": 0,
"gradientMode": "none",
"hideFrom": {
"legend": false,
"tooltip": false,
"viz": false
},
"lineInterpolation": "linear",
"lineWidth": 1,
"pointSize": 5,
"scaleDistribution": {
"type": "linear"
},
"showPoints": "auto",
"spanNulls": false,
"stacking": {
"group": "A",
"mode": "none"
},
"thresholdsStyle": {
"mode": "off"
}
},
"mappings": [],
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "green",
"value": null
},
{
"color": "red",
"value": 80
}
]
},
"unit": "none"
},
"overrides": []
},
"gridPos": {
"h": 6,
"w": 6,
"x": 12,
"y": 18
},
"id": 26,
"options": {
"legend": {
"calcs": [],
"displayMode": "table",
"placement": "right"
},
"tooltip": {
"mode": "single"
}
},
"targets": [
{
"exemplar": true,
"expr": "rp_hosts_capacity",
"interval": "",
"legendFormat": "{{pid}}",
"refId": "A"
}
],
"title": "rp_hosts_capacity",
"transparent": true,
"type": "timeseries"
},
{
"datasource": null,
"description": "", "description": "",
"fieldConfig": { "fieldConfig": {
"defaults": { "defaults": {
@ -1333,14 +1292,10 @@
}, },
"targets": [ "targets": [
{ {
"datasource": {
"type": "prometheus",
"uid": "PBFA97CFB590B2093"
},
"exemplar": true, "exemplar": true,
"expr": "rp_hosts_avg_back_call_time{}", "expr": "rp_hosts_avg_back_call_time",
"interval": "", "interval": "",
"legendFormat": "pid {{pid}} ", "legendFormat": "{{pid}}",
"refId": "A" "refId": "A"
} }
], ],
@ -1349,21 +1304,20 @@
"type": "timeseries" "type": "timeseries"
} }
], ],
"refresh": "5s", "refresh": "30s",
"schemaVersion": 34, "schemaVersion": 30,
"style": "dark", "style": "dark",
"tags": [], "tags": [],
"templating": { "templating": {
"list": [] "list": []
}, },
"time": { "time": {
"from": "now-12h", "from": "now-15m",
"to": "now" "to": "now"
}, },
"timepicker": {}, "timepicker": {},
"timezone": "", "timezone": "",
"title": "demo", "title": "demo",
"uid": "MdMoKZAnk", "uid": "MdMoKZAnk",
"version": 3, "version": 4
"weekStart": ""
} }