Commit Graph

11 Commits

Author SHA1 Message Date
Theo Arends fa7fdbd51a Consolidate `AddLog_P`
Consolidate `AddLog_P` into `AddLog_P2` and rename to `AddLog_P`
2020-11-06 17:09:13 +01:00
Theo Arends af5082320d Use global struct 2020-10-30 12:29:48 +01:00
Theo Arends f1ac7b2d67 Use global struct 2020-10-28 19:03:39 +01:00
Theo Arends b93b719108 Use global struct 2020-10-28 17:32:07 +01:00
Stephan Hadinger 1af525619a Webserver->on() optimization phase 2 2020-10-20 18:56:18 +02:00
Patrick Fruh e41e4d4ca3
update prometheus metric names 2020-08-19 20:57:28 +02:00
Mark Hansen c9f3a2d563 Add tasmota_flash_writes_total to Prometheus
Follows prometheus naming best practices for unitless accumulating counts:
https://prometheus.io/docs/practices/naming/#metric-names

(cf http_requests_total).
2020-06-29 10:35:27 +10:00
Theo Arends 7dafeb280e Rename global temp and pressure
- Rename global temp and pressure (#8808, #8810)
- Fix SGP30 calculation (#8808)
2020-06-28 12:23:18 +02:00
Mark Hansen e9f88af959 Add WiFi metrics to prometheus exporter 2020-06-28 11:43:29 +10:00
Mark Hansen 76c61e85b3 Add tasmota_info prometheus psuedo-metric.
Exports version, image type, and build timestamp.

It's common to export something like this to show version numbers across the fleet.

For example, the golang exporter exposes version:
```
go_info{version="go1.14.4"} 1
```

And prometheus exposes:
```
prometheus_build_info{branch="HEAD",goversion="go1.14.4",revision="eba3fdcbf0d378b66600281903e3aab515732b39",version="2.19.1"} 1
```
2020-06-27 21:21:11 +10:00
Theo Arends 1866938cbd Integrate prometheus 2020-06-27 11:52:44 +02:00