Skip to content

Commit

Permalink
fix: network metrics on k8s-views-global.json
Browse files Browse the repository at this point in the history
Signed-off-by: David Calvert <david@0xdc.me>
  • Loading branch information
dotdc committed Jan 3, 2023
1 parent c8cc1be commit 6e3a73f
Showing 1 changed file with 16 additions and 16 deletions.
32 changes: 16 additions & 16 deletions dashboards/k8s-views-global.json
Original file line number Diff line number Diff line change
Expand Up @@ -1421,7 +1421,7 @@
"refId": "A"
}
],
"title": "CPU Utilization by node",
"title": "CPU Utilization by instance",
"type": "timeseries"
},
{
Expand Down Expand Up @@ -1523,7 +1523,7 @@
"refId": "A"
}
],
"title": "Memory Utilization by node",
"title": "Memory Utilization by instance",
"type": "timeseries"
},
{
Expand Down Expand Up @@ -1629,7 +1629,7 @@
},
"editorMode": "code",
"exemplar": true,
"expr": "sum(rate(container_network_receive_bytes_total[$__rate_interval]))",
"expr": "sum(rate(node_network_receive_bytes_total[$__rate_interval]))",
"interval": "$resolution",
"legendFormat": "Total received bytes",
"range": true,
Expand All @@ -1642,7 +1642,7 @@
},
"editorMode": "code",
"exemplar": true,
"expr": "- sum(rate(container_network_transmit_bytes_total[$__rate_interval]))",
"expr": "- sum(rate(node_network_transmit_bytes_total[$__rate_interval]))",
"interval": "$resolution",
"legendFormat": "Total transmitted bytes",
"range": true,
Expand Down Expand Up @@ -1738,7 +1738,7 @@
},
"editorMode": "code",
"exemplar": true,
"expr": "sum(rate(container_network_receive_packets_dropped_total[$__rate_interval]))",
"expr": "sum(rate(node_network_receive_drop_total[$__rate_interval]))",
"interval": "$resolution",
"legendFormat": "Packets dropped (receive)",
"range": true,
Expand All @@ -1751,7 +1751,7 @@
},
"editorMode": "code",
"exemplar": true,
"expr": "- sum(rate(container_network_transmit_packets_dropped_total[$__rate_interval]))",
"expr": "- sum(rate(node_network_transmit_drop_total[$__rate_interval]))",
"interval": "$resolution",
"legendFormat": "Packets dropped (transmit)",
"range": true,
Expand Down Expand Up @@ -1834,8 +1834,8 @@
"showLegend": false
},
"tooltip": {
"mode": "single",
"sort": "none"
"mode": "multi",
"sort": "desc"
}
},
"pluginVersion": "8.3.3",
Expand Down Expand Up @@ -1943,8 +1943,8 @@
"showLegend": false
},
"tooltip": {
"mode": "single",
"sort": "none"
"mode": "multi",
"sort": "desc"
}
},
"pluginVersion": "8.3.3",
Expand All @@ -1956,9 +1956,9 @@
},
"editorMode": "code",
"exemplar": true,
"expr": "sum(rate(container_network_receive_bytes_total[$__rate_interval])) by (node)",
"expr": "sum(rate(node_network_receive_bytes_total[$__rate_interval])) by (instance)",
"interval": "$resolution",
"legendFormat": "Received bytes in {{ node }}",
"legendFormat": "Received bytes in {{ instance }}",
"range": true,
"refId": "A"
},
Expand All @@ -1968,15 +1968,15 @@
"uid": "${datasource}"
},
"editorMode": "code",
"expr": "- sum(rate(container_network_transmit_bytes_total[$__rate_interval])) by (node)",
"expr": "- sum(rate(node_network_transmit_bytes_total[$__rate_interval])) by (instance)",
"hide": false,
"interval": "$resolution",
"legendFormat": "Transmitted bytes in {{ node }}",
"legendFormat": "Transmitted bytes in {{ instance }}",
"range": true,
"refId": "B"
}
],
"title": "Network Received by node",
"title": "Network Received by instance",
"type": "timeseries"
}
],
Expand Down Expand Up @@ -2064,6 +2064,6 @@
"timezone": "",
"title": "Kubernetes / Views / Global",
"uid": "k8s_views_global",
"version": 20,
"version": 21,
"weekStart": ""
}

0 comments on commit 6e3a73f

Please sign in to comment.