Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How to disable charts loading #5650

Open
2 tasks done
cmbcbe opened this issue Feb 24, 2025 · 2 comments
Open
2 tasks done

How to disable charts loading #5650

cmbcbe opened this issue Feb 24, 2025 · 2 comments
Labels

Comments

@cmbcbe
Copy link

cmbcbe commented Feb 24, 2025

⚠️ Please verify that this question has NOT been raised before.

  • I checked and didn't find similar issue

🛡️ Security Policy

📝 Describe your problem

I'm currently trying UptimeKuma v2 beta 1, i have a lot of monitor (1800)
To load the dashboard, it could take more then 1 minute, i suspect that it is slow because of charts (that i don't need)
I have try to find myself in .js code to "void" chart function without success.

Could someone tell me in wich file to search or wich function to desactivate?

Thanks a lot

📝 Error Message(s) or Log

no error message

🐻 Uptime-Kuma Version

2.0.0-beta.1

💻 Operating System and Arch

Docker on Debian 12

🌐 Browser

Any

🖥️ Deployment Environment

  • Runtime: Docker 28
  • Database: external mariadb 11.4
  • Filesystem used to store the database on: ext4
  • number of monitors: 1800
@cmbcbe cmbcbe added the help label Feb 24, 2025
@cmbcbe
Copy link
Author

cmbcbe commented Feb 25, 2025

I have found myself how to do but it doesn't change anything on page loading perfromance.

Here is for archive how i have done:

enter docker container and stay in /app
apt update
apt install nano
nano src/pages/Details.vue
at line 187 change
<PingChart :monitor-id="monitor.id" />
to
<PingChart v-if="false" :monitor-id="monitor.id" />
comment line 283 like
// const PingChart = defineAsyncComponent(() => import("../components/PingChart.vue"));

npm install
npm install -g vite
npm run build

exit container and restart it

@cmbcbe
Copy link
Author

cmbcbe commented Feb 26, 2025

After a while with 1800 monitors, you get this

Image

I don't know what is eating so much memory but i could be great to be able to turn off theses loading

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant