https://github.com/chpro/daikin-prometheus-exporter
Prometheus exporter for values collected from the daikin API written in java
https://github.com/chpro/daikin-prometheus-exporter
Last synced: about 2 months ago
JSON representation
Prometheus exporter for values collected from the daikin API written in java
- Host: GitHub
- URL: https://github.com/chpro/daikin-prometheus-exporter
- Owner: chpro
- License: mit
- Created: 2023-04-03T18:23:17.000Z (about 3 years ago)
- Default Branch: main
- Last Pushed: 2025-04-16T18:25:26.000Z (about 1 year ago)
- Last Synced: 2025-04-17T03:18:16.649Z (about 1 year ago)
- Language: Java
- Size: 79.1 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE.txt
Awesome Lists containing this project
README
# Daikin prometheus exporter
The prometheus exporter uses chpro.daikin.api to connect to daikin aircondition devices and collect data
## URL
By default the sever is listening to port `8080` the prometheus endpoint is mapped to `metrics`
`http://localhost:8080/metrics`
## Configuration
Configuration is done in application.yml
```
...
daikin:
prometheus-exporter:
hosts:
- ip_address_device_1
- ip_address_device_2
label-device-name: true # defines if the label of device name should be added to each metric
metrics:
-
uri: aircon/get_sensor_info
var: variable_name
type: counter | gauge
name: name of the metric (if unit is given the name needs also to be suffixed with it)
help: a detailed description for the metric
label-names:
- name1
- name2
label-values:
- value_for_name1
- value_for_name2
unit: iso units (grams, clesius ..)
...
```
### uri
can be one of
- common/basic_info
- aircon/get_control_info
- aircon/get_sensor_info
- aircon/get_week_power
- aircon/get_monitordata
### var
The name of the field returned by the endpoint which should be exposed via /metrics endpoint
### label-*
Static labels which should be added to the metric. Lists need to have same length