Closed navilg closed 6 months ago
added in #706 cause I'm using it and it's helpful to have
Thanks
Hello Where is the polling interval coded for the Uptime-Kuma metrics end point? Thanks
Hello Where is the polling interval coded for the Uptime-Kuma metrics end point? Thanks
I'm not sure I understand your question - like how often Heimdall checks these values? That's part of Heimdall core and it isn't configurable to my knowledge.
Is something not working as expected?
It' working well. Thanks! I just want to know how often Heimdall core checks these values ? Maybe someone can link the code line.
Heimdall doesnot poll the metrics on interval. It only polls when Heimdall page is loaded first time or the page is refeshed.
Yeah, I think that's general for all Heimdall apps.
You can probably open an issue on Heimdall core if you'd like to learn more about that.
https://github.com/linuxserver/Heimdall/blob/2.x/resources/assets/js/liveStatRefresh.js
It looks like there's a 30s refresh if it's inactive and 5s if "active" - which for uptime kuma, is if there's a down monitor
Thanks!
I see the answers are already nicely given, for which my thanks.
Please close this issue if your questions were answered.
My two cents by the way:
the intention of the stats on Heimdall apps is not really to provide a live view but to provide a convenient overview.
If you really need a fast, regular update have Uptime Kuma open directly would be a better option.
Also connecting Uptime Kuma's notifications to Telegram for example works quite nicely.
Enhance uptime kuma from foundation app to enhanced app with feature to display number of monitors which are UP and DOWN.