Introduce Proxy process telemetry in Grafana (#1199)

PR #1128 introduced new proxy process stats.

Introduce Grafana graphs that expose these new proxy process stats.

Signed-off-by: Andrew Seigner <siggy@buoyant.io>
This commit is contained in:
Andrew Seigner 2018-06-27 00:58:28 +01:00 committed by GitHub
parent 5bba831f9b
commit e70d62dc9f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 312 additions and 23 deletions

View File

@ -16,16 +16,305 @@
"gnetId": null, "gnetId": null,
"graphTooltip": 1, "graphTooltip": 1,
"id": null, "id": null,
"iteration": 1524697499292, "iteration": 1529950676425,
"links": [], "links": [],
"panels": [ "panels": [
{
"content": "<div class=\"text-center dashboard-header\">\n <span>Data-Plane Telemetry</span>\n</div>",
"gridPos": {
"h": 2.2,
"w": 24,
"x": 0,
"y": 0
},
"id": 400,
"links": [],
"mode": "html",
"title": "",
"transparent": true,
"type": "text"
},
{
"aliasColors": {},
"bars": false,
"dashLength": 10,
"dashes": false,
"datasource": "prometheus",
"fill": 0,
"gridPos": {
"h": 7,
"w": 8,
"x": 0,
"y": 2.2
},
"id": 397,
"legend": {
"avg": false,
"current": false,
"max": false,
"min": false,
"show": false,
"total": false,
"values": false
},
"lines": true,
"linewidth": 1,
"links": [],
"nullPointMode": "null",
"percentage": false,
"pointradius": 5,
"points": false,
"renderer": "flot",
"seriesOverrides": [],
"spaceLength": 10,
"stack": false,
"steppedLine": false,
"targets": [
{
"expr": "process_virtual_memory_bytes{conduit_io_control_plane_ns=\"$namespace\", job=\"conduit-proxy\"}",
"format": "time_series",
"intervalFactor": 1,
"legendFormat": "{{namespace}}/{{pod}}/virtual",
"refId": "A"
},
{
"expr": "process_resident_memory_bytes{conduit_io_control_plane_ns=\"$namespace\", job=\"conduit-proxy\"}",
"format": "time_series",
"intervalFactor": 1,
"legendFormat": "{{namespace}}/{{pod}}/resident",
"refId": "B"
}
],
"thresholds": [],
"timeFrom": null,
"timeShift": null,
"title": "MEMORY USAGE",
"tooltip": {
"shared": false,
"sort": 2,
"value_type": "individual"
},
"type": "graph",
"xaxis": {
"buckets": null,
"mode": "time",
"name": null,
"show": true,
"values": []
},
"yaxes": [
{
"format": "decbytes",
"label": null,
"logBase": 1,
"max": null,
"min": "0",
"show": true
},
{
"format": "short",
"label": null,
"logBase": 1,
"max": null,
"min": null,
"show": true
}
],
"yaxis": {
"align": false,
"alignLevel": null
}
},
{
"aliasColors": {},
"bars": false,
"dashLength": 10,
"dashes": false,
"datasource": "prometheus",
"fill": 0,
"gridPos": {
"h": 7,
"w": 8,
"x": 8,
"y": 2.2
},
"id": 399,
"legend": {
"avg": false,
"current": false,
"max": false,
"min": false,
"show": false,
"total": false,
"values": false
},
"lines": true,
"linewidth": 1,
"links": [],
"nullPointMode": "null",
"percentage": false,
"pointradius": 5,
"points": false,
"renderer": "flot",
"seriesOverrides": [],
"spaceLength": 10,
"stack": false,
"steppedLine": false,
"targets": [
{
"expr": "sum(irate(process_cpu_seconds_total{conduit_io_control_plane_ns=\"$namespace\", job=\"conduit-proxy\"}[20s])) by (namespace, pod)",
"format": "time_series",
"intervalFactor": 1,
"legendFormat": "{{namespace}}/{{pod}}",
"refId": "A"
}
],
"thresholds": [],
"timeFrom": null,
"timeShift": null,
"title": "CPU USAGE",
"tooltip": {
"shared": false,
"sort": 2,
"value_type": "individual"
},
"type": "graph",
"xaxis": {
"buckets": null,
"mode": "time",
"name": null,
"show": true,
"values": []
},
"yaxes": [
{
"format": "s",
"label": null,
"logBase": 1,
"max": null,
"min": "0",
"show": true
},
{
"format": "short",
"label": null,
"logBase": 1,
"max": null,
"min": null,
"show": true
}
],
"yaxis": {
"align": false,
"alignLevel": null
}
},
{
"aliasColors": {},
"bars": false,
"dashLength": 10,
"dashes": false,
"datasource": "prometheus",
"fill": 0,
"gridPos": {
"h": 7,
"w": 8,
"x": 16,
"y": 2.2
},
"id": 398,
"legend": {
"avg": false,
"current": false,
"max": false,
"min": false,
"show": false,
"total": false,
"values": false
},
"lines": true,
"linewidth": 1,
"links": [],
"nullPointMode": "null",
"percentage": false,
"pointradius": 5,
"points": false,
"renderer": "flot",
"seriesOverrides": [],
"spaceLength": 10,
"stack": false,
"steppedLine": false,
"targets": [
{
"expr": "process_open_fds{conduit_io_control_plane_ns=\"$namespace\", job=\"conduit-proxy\"}",
"format": "time_series",
"intervalFactor": 1,
"legendFormat": "{{namespace}}/{{pod}}",
"refId": "A"
}
],
"thresholds": [],
"timeFrom": null,
"timeShift": null,
"title": "OPEN FILE DESCRIPTORS",
"tooltip": {
"shared": false,
"sort": 2,
"value_type": "individual"
},
"type": "graph",
"xaxis": {
"buckets": null,
"mode": "time",
"name": null,
"show": true,
"values": []
},
"yaxes": [
{
"format": "short",
"label": null,
"logBase": 1,
"max": null,
"min": "0",
"show": true
},
{
"format": "short",
"label": null,
"logBase": 1,
"max": null,
"min": null,
"show": true
}
],
"yaxis": {
"align": false,
"alignLevel": null
}
},
{
"content": "<div class=\"text-center dashboard-header\">\n <span>Control-Plane Traffic</span>\n</div>",
"gridPos": {
"h": 2.2,
"w": 24,
"x": 0,
"y": 9.2
},
"id": 401,
"links": [],
"mode": "html",
"title": "",
"transparent": true,
"type": "text"
},
{ {
"collapsed": false, "collapsed": false,
"gridPos": { "gridPos": {
"h": 1, "h": 1,
"w": 24, "w": 24,
"x": 0, "x": 0,
"y": 0 "y": 11.4
}, },
"id": 19, "id": 19,
"panels": [], "panels": [],
@ -39,7 +328,7 @@
"h": 2.2, "h": 2.2,
"w": 24, "w": 24,
"x": 0, "x": 0,
"y": 1 "y": 12.4
}, },
"id": 21, "id": 21,
"links": [], "links": [],
@ -59,7 +348,7 @@
"h": 7, "h": 7,
"w": 8, "w": 8,
"x": 0, "x": 0,
"y": 3.2 "y": 14.6
}, },
"id": 23, "id": 23,
"legend": { "legend": {
@ -143,7 +432,7 @@
"h": 7, "h": 7,
"w": 8, "w": 8,
"x": 8, "x": 8,
"y": 3.2 "y": 14.6
}, },
"id": 24, "id": 24,
"legend": { "legend": {
@ -227,7 +516,7 @@
"h": 7, "h": 7,
"w": 8, "w": 8,
"x": 16, "x": 16,
"y": 3.2 "y": 14.6
}, },
"id": 25, "id": 25,
"legend": { "legend": {
@ -320,7 +609,7 @@
"h": 1, "h": 1,
"w": 24, "w": 24,
"x": 0, "x": 0,
"y": 10.2 "y": 21.6
}, },
"id": 339, "id": 339,
"panels": [], "panels": [],
@ -333,7 +622,7 @@
"h": 2.2, "h": 2.2,
"w": 24, "w": 24,
"x": 0, "x": 0,
"y": 11.2 "y": 22.6
}, },
"id": 340, "id": 340,
"links": [], "links": [],
@ -348,7 +637,7 @@
"h": 1, "h": 1,
"w": 24, "w": 24,
"x": 0, "x": 0,
"y": 13.4 "y": 24.8
}, },
"id": 179, "id": 179,
"panels": [ "panels": [
@ -612,7 +901,7 @@
"h": 1, "h": 1,
"w": 24, "w": 24,
"x": 0, "x": 0,
"y": 14.4 "y": 25.8
}, },
"id": 90, "id": 90,
"panels": [], "panels": [],
@ -625,7 +914,7 @@
"h": 2.2, "h": 2.2,
"w": 24, "w": 24,
"x": 0, "x": 0,
"y": 15.4 "y": 26.8
}, },
"id": 27, "id": 27,
"links": [], "links": [],
@ -645,7 +934,7 @@
"h": 7, "h": 7,
"w": 8, "w": 8,
"x": 0, "x": 0,
"y": 17.6 "y": 29
}, },
"id": 2, "id": 2,
"legend": { "legend": {
@ -729,7 +1018,7 @@
"h": 7, "h": 7,
"w": 8, "w": 8,
"x": 8, "x": 8,
"y": 17.6 "y": 29
}, },
"id": 5, "id": 5,
"legend": { "legend": {
@ -758,14 +1047,14 @@
"expr": "process_resident_memory_bytes{job=\"conduit-controller\"}", "expr": "process_resident_memory_bytes{job=\"conduit-controller\"}",
"format": "time_series", "format": "time_series",
"intervalFactor": 1, "intervalFactor": 1,
"legendFormat": "resident/{{component}}", "legendFormat": "{{component}}/resident",
"refId": "A" "refId": "A"
}, },
{ {
"expr": "process_virtual_memory_bytes{job=\"conduit-controller\"}", "expr": "process_virtual_memory_bytes{job=\"conduit-controller\"}",
"format": "time_series", "format": "time_series",
"intervalFactor": 1, "intervalFactor": 1,
"legendFormat": "virtual/{{component}}", "legendFormat": "{{component}}/virtual",
"refId": "B" "refId": "B"
} }
], ],
@ -820,7 +1109,7 @@
"h": 7, "h": 7,
"w": 8, "w": 8,
"x": 16, "x": 16,
"y": 17.6 "y": 29
}, },
"id": 7, "id": 7,
"legend": { "legend": {
@ -904,7 +1193,7 @@
"h": 7, "h": 7,
"w": 8, "w": 8,
"x": 0, "x": 0,
"y": 24.6 "y": 36
}, },
"id": 9, "id": 9,
"legend": { "legend": {
@ -988,7 +1277,7 @@
"h": 7, "h": 7,
"w": 8, "w": 8,
"x": 8, "x": 8,
"y": 24.6 "y": 36
}, },
"id": 12, "id": 12,
"legend": { "legend": {
@ -1081,7 +1370,7 @@
"h": 1, "h": 1,
"w": 24, "w": 24,
"x": 0, "x": 0,
"y": 31.6 "y": 43
}, },
"id": 29, "id": 29,
"panels": [], "panels": [],
@ -1095,7 +1384,7 @@
"h": 2.2, "h": 2.2,
"w": 24, "w": 24,
"x": 0, "x": 0,
"y": 32.6 "y": 44
}, },
"id": 30, "id": 30,
"links": [], "links": [],
@ -1115,7 +1404,7 @@
"h": 7, "h": 7,
"w": 8, "w": 8,
"x": 0, "x": 0,
"y": 34.8 "y": 46.2
}, },
"id": 6, "id": 6,
"legend": { "legend": {
@ -1220,7 +1509,7 @@
"h": 7, "h": 7,
"w": 8, "w": 8,
"x": 8, "x": 8,
"y": 34.8 "y": 46.2
}, },
"id": 8, "id": 8,
"legend": { "legend": {
@ -1318,7 +1607,7 @@
"h": 7, "h": 7,
"w": 8, "w": 8,
"x": 16, "x": 16,
"y": 34.8 "y": 46.2
}, },
"id": 14, "id": 14,
"legend": { "legend": {