Update Grafana dashboard

This commit is contained in:
CarlosEDP 2019-02-05 11:57:43 -02:00
parent ac8f720239
commit 4902887205

View File

@ -16,7 +16,7 @@
"editable": true, "editable": true,
"gnetId": 162, "gnetId": 162,
"graphTooltip": 1, "graphTooltip": 1,
"id": 13, "id": 7,
"links": [], "links": [],
"panels": [ "panels": [
{ {
@ -1358,10 +1358,10 @@
"steppedLine": false, "steppedLine": false,
"targets": [ "targets": [
{ {
"expr": "topk(10,sum(rate(container_network_transmit_bytes_total{name=~\".+\"}[5m])) by (name))", "expr": "topk(10,sum(rate(container_network_transmit_bytes_total{pod_name=~\".+\"}[5m])) by (pod_name))",
"format": "time_series", "format": "time_series",
"intervalFactor": 2, "intervalFactor": 2,
"legendFormat": "{{ name }}", "legendFormat": "{{ pod_name }}",
"refId": "A", "refId": "A",
"step": 240 "step": 240
}, },
@ -1383,7 +1383,7 @@
"tooltip": { "tooltip": {
"msResolution": true, "msResolution": true,
"shared": true, "shared": true,
"sort": 1, "sort": 2,
"value_type": "cumulative" "value_type": "cumulative"
}, },
"transparent": false, "transparent": false,
@ -1465,19 +1465,19 @@
"steppedLine": false, "steppedLine": false,
"targets": [ "targets": [
{ {
"expr": "topk(10,sum(rate(container_network_receive_bytes_total{name=~\".+\"}[5m])) by (name))", "expr": "topk(10,sum(rate(container_network_receive_bytes_total{pod_name=~\".+\"}[5m])) by (pod_name))",
"format": "time_series", "format": "time_series",
"intervalFactor": 2, "intervalFactor": 2,
"legendFormat": "{{name}}", "legendFormat": "{{pod_name}}",
"refId": "A", "refId": "A",
"step": 240 "step": 240
}, },
{ {
"expr": "- rate(container_network_transmit_bytes_total{name=~\".+\"}[$interval])", "expr": "- rate(container_network_transmit_bytes_total{pod_name=~\".+\"}[$interval])",
"format": "time_series", "format": "time_series",
"hide": true, "hide": true,
"intervalFactor": 2, "intervalFactor": 2,
"legendFormat": "{{name}}", "legendFormat": "{{pod_name}}",
"refId": "B", "refId": "B",
"step": 10 "step": 10
} }
@ -1490,7 +1490,7 @@
"tooltip": { "tooltip": {
"msResolution": true, "msResolution": true,
"shared": true, "shared": true,
"sort": 1, "sort": 2,
"value_type": "cumulative" "value_type": "cumulative"
}, },
"transparent": false, "transparent": false,