prometheus exporter for linktap water timer
the exporter uses the local http push API of the gateway to receive metrics and exposes them as prometheus metrics
- access the link admin page by connecting to http:// (check linktap app if you don't know the gateway IP)
- select 'Enable local HTTP API'
- set 'Server URL' to 'http://:/gateway (exporter-ip and exporter-port is the IP and port you plan to run the exporter on)
- press 'Submit'
- reboot the gateway
- start the exporter like this: linktap_exporter -gateway-url http:// -listen-address :
- configure prometheus scraper to collect metrics from http://:/metrics