Browse Source

Add missing argument for devicename

pull/808/head
Tobias Wolf 2 years ago
parent
commit
380f86cda1
No known key found for this signature in database GPG Key ID: D7BF0C39BB42A6E1
  1. 2
      src/web/web.h

2
src/web/web.h

@ -686,7 +686,7 @@ class Web {
metrics += String(type) + String(topic);
snprintf(type,sizeof(type),"# TYPE ahoy_solar_uptime counter\n");
snprintf(topic,sizeof(topic),"ahoy_solar_uptime{devicename=\"%s\"} %u\n", mApp->getUptime());
snprintf(topic,sizeof(topic),"ahoy_solar_uptime{devicename=\"%s\"} %u\n", mConfig->sys.deviceName, mApp->getUptime());
metrics += String(type) + String(topic);
// NRF Statistics

Loading…
Cancel
Save