Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(dashboards): use fixed color mode for succeeded AppVersion/WorkloadInstance tiles #515

Merged
merged 3 commits into from
Dec 16, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -39,20 +39,16 @@ data:
"fieldConfig": {
"defaults": {
"color": {
"mode": "thresholds"
"fixedColor": "green",
"mode": "fixed"
},
"mappings": [],
"noValue": "0",
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "green",
"value": null
},
{
"color": "red",
"value": 80
}
]
}
Expand Down Expand Up @@ -192,20 +188,16 @@ data:
"fieldConfig": {
"defaults": {
"color": {
"mode": "thresholds"
"fixedColor": "red",
"mode": "fixed"
},
"mappings": [],
"noValue": "0",
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "green",
"value": null
},
{
"color": "red",
"value": 80
"value": null
}
]
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,8 @@ data:
"fieldConfig": {
"defaults": {
"color": {
"mode": "thresholds"
"fixedColor": "green",
"mode": "fixed"
},
"mappings": [],
"thresholds": {
Expand All @@ -48,10 +49,6 @@ data:
{
"color": "green",
"value": null
},
{
"color": "red",
"value": 80
}
]
}
Expand Down Expand Up @@ -174,20 +171,16 @@ data:
"fieldConfig": {
"defaults": {
"color": {
"mode": "thresholds"
"fixedColor": "red",
"mode": "fixed"
},
"mappings": [],
"noValue": "0",
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "green",
"value": null
},
{
"color": "red",
"value": 80
"value": null
}
]
}
Expand Down
18 changes: 5 additions & 13 deletions dashboards/grafana/grafana_dashboard_applications.json
Original file line number Diff line number Diff line change
Expand Up @@ -36,20 +36,16 @@
"fieldConfig": {
"defaults": {
"color": {
"mode": "thresholds"
"fixedColor": "green",
"mode": "fixed"
},
"mappings": [],
"noValue": "0",
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "green",
"value": null
},
{
"color": "red",
"value": 80
}
]
}
Expand Down Expand Up @@ -189,20 +185,16 @@
"fieldConfig": {
"defaults": {
"color": {
"mode": "thresholds"
"fixedColor": "red",
"mode": "fixed"
},
"mappings": [],
"noValue": "0",
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "green",
"value": null
},
{
"color": "red",
"value": 80
"value": null
}
]
}
Expand Down
17 changes: 5 additions & 12 deletions dashboards/grafana/grafana_dashboard_workloads.json
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,8 @@
"fieldConfig": {
"defaults": {
"color": {
"mode": "thresholds"
"fixedColor": "green",
"mode": "fixed"
},
"mappings": [],
"thresholds": {
Expand All @@ -45,10 +46,6 @@
{
"color": "green",
"value": null
},
{
"color": "red",
"value": 80
}
]
}
Expand Down Expand Up @@ -171,20 +168,16 @@
"fieldConfig": {
"defaults": {
"color": {
"mode": "thresholds"
"fixedColor": "red",
"mode": "fixed"
},
"mappings": [],
"noValue": "0",
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "green",
"value": null
},
{
"color": "red",
"value": 80
"value": null
}
]
}
Expand Down
18 changes: 5 additions & 13 deletions dashboards/grafana/import/grafana_dashboard_applications.json
Original file line number Diff line number Diff line change
Expand Up @@ -37,20 +37,16 @@
"fieldConfig": {
"defaults": {
"color": {
"mode": "thresholds"
"fixedColor": "green",
"mode": "fixed"
},
"mappings": [],
"noValue": "0",
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "green",
"value": null
},
{
"color": "red",
"value": 80
}
]
}
Expand Down Expand Up @@ -190,20 +186,16 @@
"fieldConfig": {
"defaults": {
"color": {
"mode": "thresholds"
"fixedColor": "red",
"mode": "fixed"
},
"mappings": [],
"noValue": "0",
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "green",
"value": null
},
{
"color": "red",
"value": 80
"value": null
}
]
}
Expand Down
17 changes: 5 additions & 12 deletions dashboards/grafana/import/grafana_dashboard_workloads.json
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,8 @@
"fieldConfig": {
"defaults": {
"color": {
"mode": "thresholds"
"fixedColor": "green",
"mode": "fixed"
},
"mappings": [],
"thresholds": {
Expand All @@ -46,10 +47,6 @@
{
"color": "green",
"value": null
},
{
"color": "red",
"value": 80
}
]
}
Expand Down Expand Up @@ -172,20 +169,16 @@
"fieldConfig": {
"defaults": {
"color": {
"mode": "thresholds"
"fixedColor": "red",
"mode": "fixed"
},
"mappings": [],
"noValue": "0",
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "green",
"value": null
},
{
"color": "red",
"value": 80
"value": null
}
]
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -39,20 +39,16 @@ data:
"fieldConfig": {
"defaults": {
"color": {
"mode": "thresholds"
"fixedColor": "green",
"mode": "fixed"
},
"mappings": [],
"noValue": "0",
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "green",
"value": null
},
{
"color": "red",
"value": 80
}
]
}
Expand Down Expand Up @@ -192,20 +188,16 @@ data:
"fieldConfig": {
"defaults": {
"color": {
"mode": "thresholds"
"fixedColor": "red",
"mode": "fixed"
},
"mappings": [],
"noValue": "0",
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "green",
"value": null
},
{
"color": "red",
"value": 80
"value": null
}
]
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,8 @@ data:
"fieldConfig": {
"defaults": {
"color": {
"mode": "thresholds"
"fixedColor": "green",
"mode": "fixed"
},
"mappings": [],
"thresholds": {
Expand All @@ -48,10 +49,6 @@ data:
{
"color": "green",
"value": null
},
{
"color": "red",
"value": 80
}
]
}
Expand Down Expand Up @@ -174,20 +171,16 @@ data:
"fieldConfig": {
"defaults": {
"color": {
"mode": "thresholds"
"fixedColor": "red",
"mode": "fixed"
},
"mappings": [],
"noValue": "0",
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "green",
"value": null
},
{
"color": "red",
"value": 80
"value": null
}
]
}
Expand Down