Private GIT
Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
P
prometheus-dyson
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
vlbox
prometheus-dyson
Commits
d8196757
Unverified
Commit
d8196757
authored
4 years ago
by
Sean Rees
Committed by
GitHub
4 years ago
Browse files
Options
Downloads
Plain Diff
Merge pull request #3 from hvtuananh/patch-1
update template queries in grafana and README
parents
1432a631
056fdbe3
Branches
Branches containing commit
No related tags found
No related merge requests found
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
README.md
+3
-3
3 additions, 3 deletions
README.md
grafana.json
+3
-3
3 additions, 3 deletions
grafana.json
with
6 additions
and
6 deletions
README.md
+
3
−
3
View file @
d8196757
# 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).
## Build
...
...
@@ -39,7 +39,7 @@ dyson_dust_units | gauge | dust level (range 0-10?)
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_speed_units | gauge | 0-10 (or -1 if on AUTO)
dyson_oscillation_mode | enum | ON, OFF
...
...
This diff is collapsed.
Click to expand it.
grafana.json
+
3
−
3
View file @
d8196757
...
...
@@ -1054,7 +1054,7 @@
"multi"
:
false
,
"name"
:
"instance"
,
"options"
:
[],
"query"
:
"label_values(fan_mode, instance)"
,
"query"
:
"label_values(
dyson_
fan_mode, instance)"
,
"refresh"
:
1
,
"regex"
:
""
,
"skipUrlSync"
:
false
,
...
...
@@ -1075,7 +1075,7 @@
"multi"
:
false
,
"name"
:
"name"
,
"options"
:
[],
"query"
:
"label_values(fan_mode, name)"
,
"query"
:
"label_values(
dyson_
fan_mode, name)"
,
"refresh"
:
1
,
"regex"
:
""
,
"skipUrlSync"
:
false
,
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment