grafana: display connected consul-dataplanes (#18842)

pull/18796/head^2
cskh 2023-09-18 13:23:02 -04:00 committed by GitHub
parent 17901acd4f
commit 4357362973
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 103 additions and 58 deletions

View File

@ -24,7 +24,7 @@
"editable": true,
"fiscalYearStartMonth": 0,
"graphTooltip": 0,
"id": 1,
"id": 3,
"links": [],
"liveNow": false,
"panels": [
@ -113,7 +113,7 @@
"type": "prometheus",
"uid": "PBFA97CFB590B2093"
},
"description": "No data in agentless mode",
"description": "",
"fieldConfig": {
"defaults": {
"mappings": [],
@ -140,7 +140,7 @@
"x": 6,
"y": 1
},
"id": 29,
"id": 60,
"options": {
"colorMode": "value",
"graphMode": "none",
@ -162,9 +162,9 @@
"type": "prometheus",
"uid": "PBFA97CFB590B2093"
},
"editorMode": "code",
"editorMode": "builder",
"exemplar": false,
"expr": "count(kube_pod_container_resource_limits{pod=~\"consul-client-.*\", container=\"consul\", resource=\"memory\"})",
"expr": "count(consul_dataplane_envoy_connected)",
"hide": false,
"instant": true,
"legendFormat": "__auto",
@ -172,7 +172,7 @@
"refId": "A"
}
],
"title": "Number of Consul Clients (No data in agentless mode)",
"title": "Number of Connected Consul-dataplanes",
"type": "stat"
},
{
@ -270,13 +270,80 @@
"title": "Number of Leader (1: Healthy)",
"type": "timeseries"
},
{
"datasource": {
"type": "prometheus",
"uid": "PBFA97CFB590B2093"
},
"description": "No data in agentless mode",
"fieldConfig": {
"defaults": {
"mappings": [],
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "green",
"value": null
},
{
"color": "red",
"value": 80
}
]
},
"unit": "short"
},
"overrides": []
},
"gridPos": {
"h": 8,
"w": 8,
"x": 6,
"y": 9
},
"id": 29,
"options": {
"colorMode": "value",
"graphMode": "none",
"justifyMode": "auto",
"orientation": "auto",
"reduceOptions": {
"calcs": [
"last"
],
"fields": "",
"values": false
},
"textMode": "auto"
},
"pluginVersion": "9.5.5",
"targets": [
{
"datasource": {
"type": "prometheus",
"uid": "PBFA97CFB590B2093"
},
"editorMode": "code",
"exemplar": false,
"expr": "count(kube_pod_container_resource_limits{pod=~\"consul-client-.*\", container=\"consul\", resource=\"memory\"})",
"hide": false,
"instant": true,
"legendFormat": "__auto",
"range": false,
"refId": "A"
}
],
"title": "Number of Consul Clients (No data in agentless mode)",
"type": "stat"
},
{
"collapsed": true,
"gridPos": {
"h": 1,
"w": 24,
"x": 0,
"y": 9
"y": 17
},
"id": 40,
"panels": [
@ -326,8 +393,7 @@
"mode": "absolute",
"steps": [
{
"color": "green",
"value": null
"color": "green"
},
{
"color": "red",
@ -431,8 +497,7 @@
"mode": "absolute",
"steps": [
{
"color": "green",
"value": null
"color": "green"
},
{
"color": "red",
@ -535,8 +600,7 @@
"mode": "absolute",
"steps": [
{
"color": "green",
"value": null
"color": "green"
},
{
"color": "red",
@ -639,8 +703,7 @@
"mode": "absolute",
"steps": [
{
"color": "green",
"value": null
"color": "green"
},
{
"color": "red",
@ -731,8 +794,7 @@
"mode": "absolute",
"steps": [
{
"color": "green",
"value": null
"color": "green"
},
{
"color": "red",
@ -824,8 +886,7 @@
"mode": "absolute",
"steps": [
{
"color": "green",
"value": null
"color": "green"
},
{
"color": "red",
@ -917,8 +978,7 @@
"mode": "absolute",
"steps": [
{
"color": "green",
"value": null
"color": "green"
},
{
"color": "red",
@ -974,7 +1034,7 @@
"h": 1,
"w": 24,
"x": 0,
"y": 10
"y": 18
},
"id": 43,
"panels": [
@ -1172,7 +1232,7 @@
"h": 1,
"w": 24,
"x": 0,
"y": 11
"y": 19
},
"id": 14,
"panels": [
@ -1221,8 +1281,7 @@
"mode": "absolute",
"steps": [
{
"color": "green",
"value": null
"color": "green"
},
{
"color": "red",
@ -1297,8 +1356,7 @@
"mode": "absolute",
"steps": [
{
"color": "green",
"value": null
"color": "green"
},
{
"color": "red",
@ -1393,8 +1451,7 @@
"mode": "absolute",
"steps": [
{
"color": "green",
"value": null
"color": "green"
},
{
"color": "red",
@ -1458,8 +1515,7 @@
"mode": "absolute",
"steps": [
{
"color": "green",
"value": null
"color": "green"
},
{
"color": "red",
@ -1555,8 +1611,7 @@
"mode": "absolute",
"steps": [
{
"color": "green",
"value": null
"color": "green"
},
{
"color": "red",
@ -1614,7 +1669,7 @@
"h": 1,
"w": 24,
"x": 0,
"y": 12
"y": 20
},
"id": 24,
"panels": [
@ -1957,7 +2012,7 @@
"h": 1,
"w": 24,
"x": 0,
"y": 13
"y": 21
},
"id": 54,
"panels": [
@ -2006,8 +2061,7 @@
"mode": "absolute",
"steps": [
{
"color": "green",
"value": null
"color": "green"
},
{
"color": "red",
@ -2082,8 +2136,7 @@
"mode": "absolute",
"steps": [
{
"color": "green",
"value": null
"color": "green"
},
{
"color": "red",
@ -2178,8 +2231,7 @@
"mode": "absolute",
"steps": [
{
"color": "green",
"value": null
"color": "green"
},
{
"color": "red",
@ -2243,8 +2295,7 @@
"mode": "absolute",
"steps": [
{
"color": "green",
"value": null
"color": "green"
},
{
"color": "red",
@ -2304,7 +2355,7 @@
"h": 1,
"w": 24,
"x": 0,
"y": 14
"y": 22
},
"id": 30,
"panels": [
@ -2500,7 +2551,7 @@
"h": 1,
"w": 24,
"x": 0,
"y": 15
"y": 23
},
"id": 49,
"panels": [
@ -2880,7 +2931,7 @@
"h": 1,
"w": 24,
"x": 0,
"y": 16
"y": 24
},
"id": 33,
"panels": [
@ -2930,8 +2981,7 @@
"mode": "absolute",
"steps": [
{
"color": "green",
"value": null
"color": "green"
},
{
"color": "red",
@ -3023,8 +3073,7 @@
"mode": "absolute",
"steps": [
{
"color": "green",
"value": null
"color": "green"
},
{
"color": "red",
@ -3116,8 +3165,7 @@
"mode": "absolute",
"steps": [
{
"color": "green",
"value": null
"color": "green"
},
{
"color": "red",
@ -3209,8 +3257,7 @@
"mode": "absolute",
"steps": [
{
"color": "green",
"value": null
"color": "green"
},
{
"color": "red",
@ -3302,8 +3349,7 @@
"mode": "absolute",
"steps": [
{
"color": "green",
"value": null
"color": "green"
},
{
"color": "red",
@ -3395,8 +3441,7 @@
"mode": "absolute",
"steps": [
{
"color": "green",
"value": null
"color": "green"
},
{
"color": "red",