-
|
Hello everyone, Since last update of the dev branch, it seems that API calls are kinda broken ? I have 4 Homepage widgets right now : cpu, process, containers and memory. Am I the only one here ? Thanks |
Beta Was this translation helpful? Give feedback.
Replies: 7 comments 7 replies
-
|
Hi @lokiiiii Perhaps it's related to the commit 4361df8 done for #3033. Do you know how does Homepage widgets call the API ? |
Beta Was this translation helpful? Give feedback.
-
|
I asked to Homepage's dev but I would say that each widget is doing a seperated call, waiting for confirmation. |
Beta Was this translation helpful? Give feedback.
-
|
I have a quick look in the Homepage Glances' plugin code and i think that all call are done separately: https://github.com/gethomepage/homepage/blob/2f48d21bfdc32e944c2d8988521f70bd289eaa2f/src/widgets/glances/widget.js#L6C28-L6C98 It should work because when i do some pure Glances test, there is no problem: In another terminal: Just one question, in your first message, you said: process is not a Glances plugin (processcount, processlist, programlist are). |
Beta Was this translation helpful? Give feedback.
-
|
in Homepage's doc, I'm refering to the widget : process: Top 5 processes based on CPU usage. Gives an overview of which processes are consuming the most resources. |
Beta Was this translation helpful? Give feedback.
-
|
Ok reproduced on my side: curl http://0.0.0.0:61208/api/4/cpu && curl http://0.0.0.0:61208/api/4/mem curl http://0.0.0.0:61208/api/4/cpu && sleep 1 && curl http://0.0.0.0:61208/api/4/mem I will have a look asap. Thanks for the head up @lokiiiii |
Beta Was this translation helpful? Give feedback.
-
|
@lokiiiii i just rebuild a dev container (Alpine only, Ubuntu is not available for the moment) with a patch. Can you test it ? |
Beta Was this translation helpful? Give feedback.
-
|
@lokiiiii Hi ! I just released Glances 4.4.0 with the patch, some user have update issue on HA (see #3333). Can you test this version on your side ? Thanks ! |
Beta Was this translation helpful? Give feedback.



it seems to work just fine now ! also think it fixes the "bug" where next-serv process could use up to 450% of the process.