Files
espurna/code/test/build
Max Prokhorov a496308d97 web: prometheus metrics support (#2332)
- (experimental) provide generic way to read magnitude values
- expose /api/metrics with values formatted specifically for prometheus, with relay and sensor data
- small tweaks to sensor init

Example config:
```
scrape_configs:
  - job_name: 'espurna'
    metrics_path: '/api/metrics'
    params:
      apikey: ['apikeyapikey']
    static_configs:
      - targets: ['espurna-blabla.lan:80']
```
Where ESPurna side has
```
apiKey => "apikeyapikey"
apiEnabled => "1"
```
2020-08-30 15:26:16 +03:00
..
2020-02-09 04:41:18 +03:00
2020-03-13 09:28:15 +03:00
2020-07-03 23:25:33 +03:00
2020-05-01 10:19:26 +03:00
2019-11-21 01:14:17 +03:00
2020-08-23 11:48:50 +03:00
2020-08-02 09:12:38 +03:00