You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When using the docker image you provided I was getting these errors.
[16:22:00.377] ERROR (1): Error
[16:22:00.377] ERROR (1): Cannot read properties of undefined (reading 'valueOf')
[16:22:00.377] ERROR (1): TypeError: Cannot read properties of undefined (reading 'valueOf')
at /usr/src/app/outputs/loki.js:20:90
at Array.map (<anonymous>)
at LokiApi.push (/usr/src/app/outputs/loki.js:19:34)
at /usr/src/app/index.js:107:39
at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
at async AdguardApi.getLogs (/usr/src/app/adguard/index.js:60:24)
at async syncLogs (/usr/src/app/index.js:104:5)
There's quite a few "Undocumented" (in the readme) args. And I think the timezone arg is required because otherwise it cant generate the timestamp for the log when sending it to loki.
Hey I know this is a small project but these two issues led me here
AdguardTeam/AdGuardHome#4645
AdguardTeam/AdGuardHome#2290
When using the docker image you provided I was getting these errors.
There's quite a few "Undocumented" (in the readme) args. And I think the timezone arg is required because otherwise it cant generate the timestamp for the log when sending it to loki.
adguard-loki-exporter/index.js
Lines 14 to 23 in 28193c2
I passed in the
TIMEZONE
arg and it started to work again, a default value here is probably helpful.The text was updated successfully, but these errors were encountered: