some debug
This commit is contained in:
@ -149,7 +149,7 @@ void influxAddFrequency(uint32_t period, double fRaw, double fSmoothed, double g
|
|||||||
|
|
||||||
if (divider == ONE_SECOND_DIVIDER) {
|
if (divider == ONE_SECOND_DIVIDER) {
|
||||||
double freq1S = ((double)ONE_SECOND_DIVIDER) / summedUpTime;
|
double freq1S = ((double)ONE_SECOND_DIVIDER) / summedUpTime;
|
||||||
logmsg(LOG_DEBUG, "%llu: %f\n", tt, freq1S);
|
logmsg(LOG_DEBUG, "%llu: %f %f\n", tt, summedUpTime, freq1S);
|
||||||
|
|
||||||
int c = sprintf(tmpBuf, "mainsfrequency1S,host=%s,location=%s "
|
int c = sprintf(tmpBuf, "mainsfrequency1S,host=%s,location=%s "
|
||||||
"freq=%f "
|
"freq=%f "
|
||||||
|
Reference in New Issue
Block a user