Commit Graph

9 Commits

Author SHA1 Message Date
Theo Arends 74a3be49a4
Merge pull request #8796 from mhansen/boot_count
Add tasmota_boot_count prometheus metric
2020-06-27 10:34:26 +02:00
Mark Hansen f741f43262 Add tasmota_boot_count prometheus metric 2020-06-27 12:10:00 +10:00
Mark Hansen b802d34c42 Move #define USE_PROMETHEUS to my_user_config.h
This is where all the other #defines live.

This should make it easier to find the #define for enabling prometheus.
2020-06-27 12:04:32 +10:00
Mark Hansen 956e6f5a5c Add uptime metric to prometheus exporter
I'm following the naming practices:
https://prometheus.io/docs/practices/naming/
- an application prefix (tasmota_)
- a unit suffix in plural form

Tested building and flashing: looks like

```
tasmota_uptime_seconds 78
```
2020-06-25 20:33:54 +10:00
Theo Arends 0abfcf1954 Fix global temperature
- Fix global temperature use of float solving intermittend power off (#8175)
- Fix BL0940 power monitoring when powered on but no load present
2020-06-12 16:51:21 +02:00
Theo Arends 57f836cc9e Remove possible Webserver naming ambuigity 2020-04-15 09:58:38 +02:00
Roman Lomonosov 20c58f5f20 Fix typo in gauge metric type (#7216) 2020-01-11 10:15:30 +03:00
Theo Arends 7ea9204425 Add some info to Prometheus file 2020-01-02 14:17:49 +01:00
Theo Arends 01b5df9651 Add optional support for Prometheus
Add optional support for Prometheus using file xsns_91_prometheus.ino (#7216)
2020-01-01 17:17:10 +01:00