Skip to content

Commit

Permalink
moniroting: Add units to value in dashboards
Browse files Browse the repository at this point in the history
  • Loading branch information
doniacld committed Jul 21, 2022
1 parent 6816612 commit 932eb6f
Showing 1 changed file with 27 additions and 15 deletions.
42 changes: 27 additions & 15 deletions deploy/monitoring/dashboards/temp-hum-view.json
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,8 @@
"value": null
}
]
}
},
"unit": "percent"
},
"overrides": []
},
Expand Down Expand Up @@ -80,7 +81,7 @@
},
"editorMode": "builder",
"exemplar": false,
"expr": "humidity_percent",
"expr": "min_over_time(humidity_percent[$__interval])",
"instant": true,
"legendFormat": "__auto",
"range": false,
Expand Down Expand Up @@ -109,7 +110,8 @@
"value": null
}
]
}
},
"unit": "percent"
},
"overrides": []
},
Expand Down Expand Up @@ -143,7 +145,7 @@
},
"editorMode": "builder",
"exemplar": false,
"expr": "humidity_percent",
"expr": "avg_over_time(humidity_percent[$__interval])",
"instant": true,
"legendFormat": "__auto",
"range": false,
Expand Down Expand Up @@ -172,7 +174,8 @@
"value": null
}
]
}
},
"unit": "percent"
},
"overrides": []
},
Expand Down Expand Up @@ -206,7 +209,7 @@
},
"editorMode": "builder",
"exemplar": false,
"expr": "humidity_percent",
"expr": "max_over_time(humidity_percent[$__interval])",
"instant": true,
"legendFormat": "__auto",
"range": false,
Expand All @@ -226,6 +229,7 @@
"color": {
"mode": "thresholds"
},
"decimals": 1,
"mappings": [],
"thresholds": {
"mode": "absolute",
Expand All @@ -235,7 +239,8 @@
"value": null
}
]
}
},
"unit": "percent"
},
"overrides": []
},
Expand Down Expand Up @@ -289,6 +294,7 @@
"color": {
"mode": "thresholds"
},
"decimals": 1,
"mappings": [],
"thresholds": {
"mode": "absolute",
Expand All @@ -298,7 +304,8 @@
"value": null
}
]
}
},
"unit": "celsius"
},
"overrides": []
},
Expand Down Expand Up @@ -332,7 +339,7 @@
},
"editorMode": "builder",
"exemplar": false,
"expr": "temperature_celsius",
"expr": "min_over_time(temperature_celsius[$__interval])",
"instant": true,
"legendFormat": "__auto",
"range": false,
Expand All @@ -352,6 +359,7 @@
"color": {
"mode": "thresholds"
},
"decimals": 1,
"mappings": [],
"thresholds": {
"mode": "absolute",
Expand All @@ -361,7 +369,8 @@
"value": null
}
]
}
},
"unit": "celsius"
},
"overrides": []
},
Expand Down Expand Up @@ -395,7 +404,7 @@
},
"editorMode": "builder",
"exemplar": false,
"expr": "temperature_celsius",
"expr": "avg_over_time(temperature_celsius[$__interval])",
"instant": true,
"legendFormat": "__auto",
"range": false,
Expand Down Expand Up @@ -424,7 +433,8 @@
"value": null
}
]
}
},
"unit": "celsius"
},
"overrides": []
},
Expand Down Expand Up @@ -458,7 +468,7 @@
},
"editorMode": "builder",
"exemplar": false,
"expr": "temperature_celsius",
"expr": "max_over_time(temperature_celsius[$__interval])",
"instant": true,
"legendFormat": "__auto",
"range": false,
Expand All @@ -478,6 +488,7 @@
"color": {
"mode": "thresholds"
},
"decimals": 1,
"mappings": [],
"thresholds": {
"mode": "absolute",
Expand All @@ -487,7 +498,8 @@
"value": null
}
]
}
},
"unit": "celsius"
},
"overrides": []
},
Expand Down Expand Up @@ -521,7 +533,7 @@
},
"editorMode": "builder",
"exemplar": false,
"expr": "temperature_celsius",
"expr": "max_over_time(temperature_celsius[$__interval])",
"instant": true,
"legendFormat": "__auto",
"range": false,
Expand Down

0 comments on commit 932eb6f

Please sign in to comment.