mirror of https://github.com/arendst/Tasmota.git
prometheus: add 'friendlyname' to tasmota_info
This commit is contained in:
parent
3e914a7ad1
commit
e404bd49c3
|
@ -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