Skip to content

Commit

Permalink
fix: lcd/gauge calculations on global,ns,nodes
Browse files Browse the repository at this point in the history
Signed-off-by: David Calvert <[email protected]>
  • Loading branch information
dotdc committed Jan 4, 2024
1 parent 4b52d9c commit 203220e
Show file tree
Hide file tree
Showing 3 changed files with 48 additions and 82 deletions.
6 changes: 3 additions & 3 deletions dashboards/k8s-views-global.json
Original file line number Diff line number Diff line change
Expand Up @@ -683,7 +683,7 @@
"orientation": "auto",
"reduceOptions": {
"calcs": [
"mean"
"lastNotNull"
],
"fields": "",
"values": false
Expand Down Expand Up @@ -783,7 +783,7 @@
"orientation": "auto",
"reduceOptions": {
"calcs": [
"mean"
"lastNotNull"
],
"fields": "",
"values": false
Expand Down Expand Up @@ -2968,6 +2968,6 @@
"timezone": "",
"title": "Kubernetes / Views / Global",
"uid": "k8s_views_global",
"version": 33,
"version": 34,
"weekStart": ""
}
41 changes: 15 additions & 26 deletions dashboards/k8s-views-namespaces.json
Original file line number Diff line number Diff line change
Expand Up @@ -127,7 +127,7 @@
"orientation": "auto",
"reduceOptions": {
"calcs": [
"mean"
"lastNotNull"
],
"fields": "",
"values": false
Expand Down Expand Up @@ -464,7 +464,7 @@
"orientation": "auto",
"reduceOptions": {
"calcs": [
"mean"
"lastNotNull"
],
"fields": "",
"values": false
Expand Down Expand Up @@ -564,7 +564,7 @@
"orientation": "auto",
"reduceOptions": {
"calcs": [
"mean"
"lastNotNull"
],
"fields": "",
"values": false
Expand Down Expand Up @@ -1010,8 +1010,7 @@
"mode": "absolute",
"steps": [
{
"color": "green",
"value": null
"color": "green"
},
{
"color": "red",
Expand Down Expand Up @@ -1126,8 +1125,7 @@
"mode": "absolute",
"steps": [
{
"color": "green",
"value": null
"color": "green"
},
{
"color": "red",
Expand Down Expand Up @@ -1231,8 +1229,7 @@
"mode": "absolute",
"steps": [
{
"color": "green",
"value": null
"color": "green"
},
{
"color": "red",
Expand Down Expand Up @@ -1336,8 +1333,7 @@
"mode": "absolute",
"steps": [
{
"color": "green",
"value": null
"color": "green"
},
{
"color": "red",
Expand Down Expand Up @@ -1441,8 +1437,7 @@
"mode": "absolute",
"steps": [
{
"color": "green",
"value": null
"color": "green"
},
{
"color": "red",
Expand Down Expand Up @@ -1581,8 +1576,7 @@
"mode": "absolute",
"steps": [
{
"color": "green",
"value": null
"color": "green"
},
{
"color": "red",
Expand Down Expand Up @@ -1678,8 +1672,7 @@
"mode": "absolute",
"steps": [
{
"color": "green",
"value": null
"color": "green"
},
{
"color": "red",
Expand Down Expand Up @@ -1776,8 +1769,7 @@
"mode": "absolute",
"steps": [
{
"color": "green",
"value": null
"color": "green"
},
{
"color": "red",
Expand Down Expand Up @@ -1891,8 +1883,7 @@
"mode": "absolute",
"steps": [
{
"color": "green",
"value": null
"color": "green"
},
{
"color": "red",
Expand Down Expand Up @@ -1988,8 +1979,7 @@
"mode": "absolute",
"steps": [
{
"color": "green",
"value": null
"color": "green"
},
{
"color": "red",
Expand Down Expand Up @@ -2097,8 +2087,7 @@
"mode": "absolute",
"steps": [
{
"color": "green",
"value": null
"color": "green"
},
{
"color": "red",
Expand Down Expand Up @@ -2318,6 +2307,6 @@
"timezone": "",
"title": "Kubernetes / Views / Namespaces",
"uid": "k8s_views_ns",
"version": 31,
"version": 32,
"weekStart": ""
}
Loading

0 comments on commit 203220e

Please sign in to comment.