mirror of https://github.com/arendst/Tasmota.git
Merge pull request #14853 from papamoose/prometheus-add-friendlyname
prometheus: add 'friendlyname' to tasmota_info
This commit is contained in:
commit
f85c4b5e31
|
@ -200,6 +200,7 @@ void HandleMetrics(void) {
|
|||
PSTR("image"), TasmotaGlobal.image_name,
|
||||
PSTR("build_timestamp"), GetBuildDateAndTime().c_str(),
|
||||
PSTR("devicename"), SettingsText(SET_DEVICENAME),
|
||||
PSTR("friendlyname"), SettingsText(SET_FRIENDLYNAME1),
|
||||
nullptr);
|
||||
|
||||
WritePromMetricInt32(PSTR("uptime_seconds"), kPromMetricGauge, TasmotaGlobal.uptime, nullptr);
|
||||
|
|
Loading…
Reference in New Issue