mirror of
https://github.com/arendst/Tasmota.git
synced 2025-07-21 09:46:31 +00:00
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…
x
Reference in New Issue
Block a user