Use discrete instead of spectrum for uptime graph.
This commit is contained in:
parent
2ef3c83972
commit
59508d5d0c
|
@ -341,8 +341,21 @@
|
||||||
"exponent": 0.5,
|
"exponent": 0.5,
|
||||||
"max": 1,
|
"max": 1,
|
||||||
"min": 0,
|
"min": 0,
|
||||||
"mode": "spectrum",
|
"mode": "discrete",
|
||||||
"thresholds": []
|
"thresholds": [
|
||||||
|
{
|
||||||
|
"$$hashKey": "object:68",
|
||||||
|
"color": "#37872D",
|
||||||
|
"tooltip": "Up",
|
||||||
|
"value": "1"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"$$hashKey": "object:72",
|
||||||
|
"color": "#C4162A",
|
||||||
|
"tooltip": "Down",
|
||||||
|
"value": "0"
|
||||||
|
}
|
||||||
|
]
|
||||||
},
|
},
|
||||||
"datasource": "prometheus",
|
"datasource": "prometheus",
|
||||||
"fieldConfig": {
|
"fieldConfig": {
|
||||||
|
@ -549,5 +562,5 @@
|
||||||
"timezone": "browser",
|
"timezone": "browser",
|
||||||
"title": "Internet connection",
|
"title": "Internet connection",
|
||||||
"uid": "o9mIe_Aik",
|
"uid": "o9mIe_Aik",
|
||||||
"version": 1
|
"version": 2
|
||||||
}
|
}
|
Loading…
Reference in New Issue