Skip to content

Commit

Permalink
fix(dashboard): use fixed text color for stat panels (#21)
Browse files Browse the repository at this point in the history
  • Loading branch information
Thuan Vo authored Feb 9, 2023
1 parent 5fae793 commit a84e744
Showing 1 changed file with 12 additions and 84 deletions.
96 changes: 12 additions & 84 deletions dashboards/main.dashboard.json
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,8 @@
"fieldConfig": {
"defaults": {
"color": {
"mode": "thresholds"
"fixedColor": "text",
"mode": "fixed"
},
"decimals": 1,
"mappings": [
Expand All @@ -36,19 +37,6 @@
"value": "null"
}
],
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "green",
"value": null
},
{
"color": "rgb(255, 255, 255)",
"value": 80
}
]
},
"unit": "ms"
},
"overrides": []
Expand Down Expand Up @@ -98,7 +86,8 @@
"fieldConfig": {
"defaults": {
"color": {
"mode": "thresholds"
"fixedColor": "text",
"mode": "fixed"
},
"mappings": [
{
Expand All @@ -109,19 +98,6 @@
"value": "null"
}
],
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "green",
"value": null
},
{
"color": "rgb(255, 255, 255)",
"value": ""
}
]
},
"unit": "dateTimeAsIso"
},
"overrides": []
Expand Down Expand Up @@ -185,7 +161,8 @@
"fieldConfig": {
"defaults": {
"color": {
"mode": "thresholds"
"fixedColor": "text",
"mode": "fixed"
},
"mappings": [
{
Expand All @@ -196,19 +173,6 @@
"value": "null"
}
],
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "green",
"value": null
},
{
"color": "rgb(255, 255, 255)",
"value": ""
}
]
},
"unit": "none"
},
"overrides": []
Expand Down Expand Up @@ -257,7 +221,8 @@
"fieldConfig": {
"defaults": {
"color": {
"mode": "thresholds"
"fixedColor": "text",
"mode": "fixed"
},
"mappings": [
{
Expand All @@ -268,19 +233,6 @@
"value": "null"
}
],
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "green",
"value": null
},
{
"color": "rgb(255, 255, 255)",
"value": ""
}
]
},
"unit": "none"
},
"overrides": []
Expand Down Expand Up @@ -329,7 +281,8 @@
"fieldConfig": {
"defaults": {
"color": {
"mode": "thresholds"
"fixedColor": "text",
"mode": "fixed"
},
"mappings": [
{
Expand All @@ -340,19 +293,6 @@
"value": "null"
}
],
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "green",
"value": null
},
{
"color": "rgb(255, 255, 255)",
"value": ""
}
]
},
"unit": "bytes"
},
"overrides": []
Expand Down Expand Up @@ -1579,22 +1519,10 @@
"fieldConfig": {
"defaults": {
"color": {
"mode": "thresholds"
"fixedColor": "text",
"mode": "fixed"
},
"mappings": [],
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "green",
"value": null
},
{
"color": "rgb(255, 255, 255)",
"value": ""
}
]
},
"unit": "ms"
},
"overrides": []
Expand Down

0 comments on commit a84e744

Please sign in to comment.