Private GIT

Skip to content
Snippets Groups Projects
Unverified Commit d8196757 authored by Sean Rees's avatar Sean Rees Committed by GitHub
Browse files

Merge pull request #3 from hvtuananh/patch-1

update template queries in grafana and README
parents 1432a631 056fdbe3
Branches
No related tags found
No related merge requests found
# prometheus_dyson # prometheus_dyson
Prometheus client for DysonLink fans (e.g; Pure Hot+Cool). Prometheus client for DysonLink fans (e.g; Pure Hot+Cool and Pure Cool).
This code only supports Pure Hot+Cool fans at the moment. It should be trivial This code only supports Pure Hot+Cool and Pure Cool fans at the moment. It should be trivial
to extend to other fan types (I just don't have one to test). to extend to other fan types (I just don't have one to test).
## Build ## Build
...@@ -39,7 +39,7 @@ dyson_dust_units | gauge | dust level (range 0-10?) ...@@ -39,7 +39,7 @@ dyson_dust_units | gauge | dust level (range 0-10?)
Name | Type | Description Name | Type | Description
---- | ---- | ----------- ---- | ---- | -----------
dyson_fan_mode | enum | AUTO, FAN (what the fan is set to) dyson_fan_mode | enum | AUTO, FAN, OFF (what the fan is set to)
dyson_fan_state | enum | FAN, OFF (what the fan is actually doing) dyson_fan_state | enum | FAN, OFF (what the fan is actually doing)
dyson_fan_speed_units | gauge | 0-10 (or -1 if on AUTO) dyson_fan_speed_units | gauge | 0-10 (or -1 if on AUTO)
dyson_oscillation_mode | enum | ON, OFF dyson_oscillation_mode | enum | ON, OFF
......
...@@ -1054,7 +1054,7 @@ ...@@ -1054,7 +1054,7 @@
"multi": false, "multi": false,
"name": "instance", "name": "instance",
"options": [], "options": [],
"query": "label_values(fan_mode, instance)", "query": "label_values(dyson_fan_mode, instance)",
"refresh": 1, "refresh": 1,
"regex": "", "regex": "",
"skipUrlSync": false, "skipUrlSync": false,
...@@ -1075,7 +1075,7 @@ ...@@ -1075,7 +1075,7 @@
"multi": false, "multi": false,
"name": "name", "name": "name",
"options": [], "options": [],
"query": "label_values(fan_mode, name)", "query": "label_values(dyson_fan_mode, name)",
"refresh": 1, "refresh": 1,
"regex": "", "regex": "",
"skipUrlSync": false, "skipUrlSync": false,
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment