metric output
This commit is contained in:
parent
95d355e5dd
commit
5a4ab6c905
1 changed files with 21 additions and 8 deletions
29
README.md
29
README.md
|
@ -40,16 +40,29 @@ Usage:
|
||||||
|
|
||||||
$GOPATH/bin/hue_exporter -hue_url 192.168.xxx.xxx -username ZlEH24zabK2jTpJ... -metrics-file hue_metrics.json
|
$GOPATH/bin/hue_exporter -hue_url 192.168.xxx.xxx -username ZlEH24zabK2jTpJ... -metrics-file hue_metrics.json
|
||||||
|
|
||||||
# HELP hue_light_status status of lights registered at hue bridge
|
# HELP hue_bridge_info Non-numeric data, value is always 1
|
||||||
# TYPE hue_light_status gauge
|
# TYPE hue_bridge_info gauge
|
||||||
hue_light_status{manufacturer_name="...",model_id="...",name="...",state_alert="...",state_bri="...",state_ct="...",state_on="...",state_reachable="...",state_saturation="...",sw_version="...",type="...",unique_id="..."} 1
|
hue_bridge_info{api_version="...",bridge_id="...",internetservice_internet="...",internetservice_remoteaccess="...",internetservice_swupdate="...",internetservice_time="...",ip_address="...",local_time="...",model_id="...",name="...",sw_update_last_change="...",sw_version="...",zigbee_channel="..."} 1
|
||||||
hue_light_status{manufacturer_name="...",model_id="...",name="...",state_alert="...",state_bri="...",state_ct="...",state_on="...",state_reachable="...",state_saturation="...",sw_version="...",type="...",unique_id="..."} 0
|
|
||||||
...
|
...
|
||||||
# HELP hue_sensor status of sensors registered at hue bridge
|
# HELP hue_light_info Non-numeric data, value is always 1
|
||||||
# TYPE hue_sensor gauge
|
# TYPE hue_light_info gauge
|
||||||
hue_sensor{config_battery="...",config_on="...",config_reachable="...",manufacturer_name="...",model_id="...",name="...",state_button_event="...",state_daylight="...",state_last_updated="...",state_last_updated_time="...",sw_version="...",type="...",unique_id="..."} 1
|
hue_light_info{id="...",manufacturer_name="...",model_id="...",name="...",state_alert="...",state_bri="...",state_color_mode="...",state_ct="...",state_on="...",tate_reachable="...",state_saturation="...",sw_config_id="...",sw_version="...",type="...",unique_id="..."} 1
|
||||||
hue_sensor{config_battery="...",config_on="...",config_reachable="...",manufacturer_name="...",model_id="...",name="...",state_button_event="...",state_daylight="...",state_last_updated="...",state_last_updated_time="...",sw_version="...",type="...",unique_id="..."} 0
|
|
||||||
...
|
...
|
||||||
|
# HELP hue_light_state light status (1=ON, 0=OFF)
|
||||||
|
# TYPE hue_light_state gauge
|
||||||
|
hue_light_state{name="..."} 1
|
||||||
|
...
|
||||||
|
# HELP hue_sensor_info Non-numeric data, value is always 1
|
||||||
|
# TYPE hue_sensor_info gauge
|
||||||
|
hue_sensor_info{config_battery="...",config_on="...",config_reachable="...",id="...",manufacturer_name="...",model_id="...",name="...",state_buttonevent="...",tate_daylight="...",state_lastupdated="...",state_lightlevel="...",state_temperature="...",sw_version="...",type="...",unique_id="..."} 1
|
||||||
|
...
|
||||||
|
# HELP hue_sensor_lightlevel light level
|
||||||
|
# TYPE hue_sensor_lightlevel gauge
|
||||||
|
hue_sensor_lightlevel{name="..."} 0
|
||||||
|
...
|
||||||
|
# HELP hue_sensor_temperature temperature level celsius degree
|
||||||
|
# TYPE hue_sensor_temperature gauge
|
||||||
|
hue_sensor_temperature{name="..."} 2016
|
||||||
|
|
||||||
### Test exporter:
|
### Test exporter:
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue