[X] I have verified that this bug has not already been reported.
You have tried to fix the bug yourself
[ ] I have tried to fix the bug myself.
Current Behavior
When updating CPU and Memory reports and, while having the API exposed via the new Plex API reporting, we receive an error when reading the Plex API. This does not occur right after restarting tauticord.
Expected Behavior
The reports that use the Plex API, cpu and memory, would be updated during a refresh, If the Plex Api is not able to be reached, keeping the value at the last known value would be preferable. Indication in the channel name that this value has not been updated in a while would be great as well.
Steps to Reproduce
Link environment to discord, and wait a period of time, and see the settings eventually report N/A
Supporting Information
2024-08-19 22:45:09,911 - [INFO]: Updating performance stats... INFO:Updating performance stats... DEBUG:Updating Users voice channel with new user count: 23 DEBUG:Updated 👤 User Count: 23 successfully DEBUG:Updating Disk voice channel with new disk space: 1.1 TB/3.8 TB (27.92%) DEBUG:Updated 💾 Disk: 1.1 TB/3.8 TB (27.92%) successfully 2024-08-19 22:45:10,408 - [ERROR]: No Plex API found to monitor CPU usage. ERROR:No Plex API found to monitor CPU usage. DEBUG:Updating CPU voice channel with new CPU percent: N/A DEBUG:Updated 🧠 CPU: N/A successfully 2024-08-19 22:45:10,549 - [ERROR]: No Plex API found to monitor RAM usage. ERROR:No Plex API found to monitor RAM usage. DEBUG:Updating Memory voice channel with new Memory percent: N/A DEBUG:Updated 🐏 Memory: N/A successfully
This bug has not been reported already
You have tried to fix the bug yourself
Current Behavior
When updating CPU and Memory reports and, while having the API exposed via the new Plex API reporting, we receive an error when reading the Plex API. This does not occur right after restarting tauticord.
Expected Behavior
The reports that use the Plex API, cpu and memory, would be updated during a refresh, If the Plex Api is not able to be reached, keeping the value at the last known value would be preferable. Indication in the channel name that this value has not been updated in a while would be great as well.
Steps to Reproduce
Link environment to discord, and wait a period of time, and see the settings eventually report N/A
Supporting Information
2024-08-19 22:45:09,911 - [INFO]: Updating performance stats... INFO:Updating performance stats... DEBUG:Updating Users voice channel with new user count: 23 DEBUG:Updated 👤 User Count: 23 successfully DEBUG:Updating Disk voice channel with new disk space: 1.1 TB/3.8 TB (27.92%) DEBUG:Updated 💾 Disk: 1.1 TB/3.8 TB (27.92%) successfully 2024-08-19 22:45:10,408 - [ERROR]: No Plex API found to monitor CPU usage. ERROR:No Plex API found to monitor CPU usage. DEBUG:Updating CPU voice channel with new CPU percent: N/A DEBUG:Updated 🧠 CPU: N/A successfully 2024-08-19 22:45:10,549 - [ERROR]: No Plex API found to monitor RAM usage. ERROR:No Plex API found to monitor RAM usage. DEBUG:Updating Memory voice channel with new Memory percent: N/A DEBUG:Updated 🐏 Memory: N/A successfully