Skip to content

Commit

Permalink
Use max in k8s overview dashboard aggregations (#17015) (#17052)
Browse files Browse the repository at this point in the history
We should not be using a sum on kubernetes.pod.network.rx.bytes,
kubernetes.pod.network.tx.bytes, and kubernetes.container.cpu.usage.core.ns;
these fields are counters.


(cherry picked from commit 0a2b3f4)
  • Loading branch information
ChrsMark authored Mar 18, 2020
1 parent 5ef9c8c commit 652426c
Showing 1 changed file with 6 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -543,7 +543,7 @@
{
"field": "kubernetes.pod.network.rx.bytes",
"id": "0d5c9221-2bf2-11e7-859b-f78b612cde28",
"type": "sum"
"type": "max"
},
{
"field": "0d5c9221-2bf2-11e7-859b-f78b612cde28",
Expand Down Expand Up @@ -578,7 +578,7 @@
"id": "16fa4470-2bfd-11e7-859b-f78b612cde28-ecs",
"type": "visualization",
"updated_at": "2018-03-01T18:58:07.906Z",
"version": 3
"version": 4
},
{
"attributes": {
Expand Down Expand Up @@ -637,7 +637,7 @@
{
"field": "kubernetes.pod.network.tx.bytes",
"id": "0d5c9221-2bf2-11e7-859b-f78b612cde28",
"type": "sum"
"type": "max"
},
{
"field": "0d5c9221-2bf2-11e7-859b-f78b612cde28",
Expand Down Expand Up @@ -672,7 +672,7 @@
"id": "294546b0-30d6-11e7-8df8-6d3604a72912-ecs",
"type": "visualization",
"updated_at": "2018-03-01T18:58:07.906Z",
"version": 3
"version": 4
},
{
"attributes": {
Expand Down Expand Up @@ -797,7 +797,7 @@
{
"field": "kubernetes.container.cpu.usage.core.ns",
"id": "5d3692a2-2bfc-11e7-859b-f78b612cde28",
"type": "sum"
"type": "max"
},
{
"field": "5d3692a2-2bfc-11e7-859b-f78b612cde28",
Expand Down Expand Up @@ -834,7 +834,7 @@
"id": "58e644f0-30d6-11e7-8df8-6d3604a72912-ecs",
"type": "visualization",
"updated_at": "2018-03-01T18:58:07.906Z",
"version": 3
"version": 4
},
{
"attributes": {
Expand Down

0 comments on commit 652426c

Please sign in to comment.