Skip to content

Commit

Permalink
Apply less smoothig to CPU and network output
Browse files Browse the repository at this point in the history
  • Loading branch information
ahus1 committed Jul 28, 2023
1 parent f108497 commit 42365fa
Showing 1 changed file with 5 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -938,7 +938,7 @@
"y": 18
},
"id": 2,
"interval": "120",
"interval": "30",
"options": {
"legend": {
"calcs": [
Expand All @@ -965,7 +965,7 @@
},
"editorMode": "code",
"exemplar": false,
"expr": "sum(rate(container_cpu_usage_seconds_total{job=\"kubelet\", namespace=\"$namespace\",container!=\"\"}\r\n[$__rate_interval])) without (cpu)",
"expr": "sum(irate(container_cpu_usage_seconds_total{job=\"kubelet\", namespace=\"$namespace\",container!=\"\"}\r\n[$__rate_interval])) without (cpu)",
"hide": false,
"legendFormat": "{{pod}}",
"range": true,
Expand Down Expand Up @@ -1041,7 +1041,7 @@
"y": 18
},
"id": 52,
"interval": "120",
"interval": "30",
"options": {
"legend": {
"calcs": [
Expand Down Expand Up @@ -1247,7 +1247,7 @@
"y": 18
},
"id": 4,
"interval": "120",
"interval": "30",
"options": {
"legend": {
"calcs": [
Expand All @@ -1274,7 +1274,7 @@
},
"editorMode": "code",
"exemplar": false,
"expr": "sum(rate(container_network_receive_bytes_total{job=\"kubelet\",namespace=\"$namespace\"}[$__rate_interval])) without (interface)",
"expr": "sum(irate(container_network_receive_bytes_total{job=\"kubelet\",namespace=\"$namespace\"}[1m])) without (interface)",
"hide": false,
"legendFormat": "{{pod}} receive",
"range": true,
Expand Down

0 comments on commit 42365fa

Please sign in to comment.