Add a simple Prometheus exporter.

This commit is contained in:
Pim van Pelt
2018-02-25 19:59:32 +01:00
parent 13d1ab1fa5
commit 6898ff8349
3 changed files with 44 additions and 11 deletions

View File

@ -43,6 +43,7 @@ config_schema:
- ["app.config", "s", {title: "Application specific config file"}]
- ["app.config", "sonoff-basic.json"]
- ["app.dht_gpio", "s", "5,4,14", {title: "Comma Separated list of GPIO pins to enable DHT22/AM2302 sensors on"}]
- ["prometheus.pushgateway", "chbtl01.paphosting.net:9091"]
#build_vars:
@ -58,6 +59,7 @@ libs:
- origin: https://github.com/mongoose-os-libs/rpc-mqtt
- origin: https://github.com/mongoose-os-libs/mqtt
- origin: https://github.com/mongoose-os-libs/dht
- origin: https://github.com/mongoose-os-libs/prometheus-metrics
- origin: libs/rpc-service-ota
# Used by the mos tool to catch mos binaries incompatible with this file format