🔊 back: output statistics periodically to logs (#762)

This commit is contained in:
Eric Doughty-Papassideris
2024-12-13 19:50:37 +01:00
parent 633f8ff71b
commit f6d3072bfe
5 changed files with 66 additions and 11 deletions
@@ -21,7 +21,9 @@
"__name": "DIAG_SKIP_KEYS",
"__format": "json"
},
"probeSecret": "DIAG_PROBE_SECRET"
"probeSecret": "DIAG_PROBE_SECRET",
"statsLogPeriodMs": "DIAG_STATS_PRINT_PERIOD_MS",
"statsFullStatsLogPeriodMs": "DIAG_FULL_STATS_PRINT_PERIOD_MS"
},
"webserver": {
"host": "TWAKE_DRIVE_HOST",
+3 -1
View File
@@ -37,7 +37,9 @@
},
"diagnostics": {
"skipKeys": [],
"probeSecret": ""
"probeSecret": "",
"statsLogPeriodMs": 120000,
"statsFullStatsLogPeriodMs": 600000
},
"tracker": {
"type": "segment",