Add Overall Status and Uptime to DashboardHome #437

Open
lucasra1 wants to merge 1 commits from lucasra1/overall_status into master
lucasra1 commented 4 years ago (Migrated from github.com)
Owner
  • expand sended stats with sendAverageUptime(duration)
  • Display 24h, 7d, 30d, 90d average uptime of all monitors
  • Change Uptime.vue component to support displaying average uptime of all monitors

Issue #312

- expand sended stats with sendAverageUptime(duration) - Display 24h, 7d, 30d, 90d average uptime of all monitors - Change Uptime.vue component to support displaying average uptime of all monitors Issue #312
lucasra1 (Migrated from github.com) reviewed 4 years ago
lucasra1 (Migrated from github.com) commented 4 years ago
Poster
Owner

I removed it, as it seems like something, someone has forgotten to remove

I removed it, as it seems like something, someone has forgotten to remove
louislam commented 4 years ago (Migrated from github.com)
Owner

Thanks, I was not implemented this because I am worry about the performance. Especially for 90d, the sql sum up a lot of data.

So I think the performance proof should be required for this pr.

Thanks, I was not implemented this because I am worry about the performance. Especially for 90d, the sql sum up a lot of data. So I think the performance proof should be required for this pr.
gaby commented 4 years ago (Migrated from github.com)
Owner

This PR will affect the performance of our uptime-kuma instance. We currently run the service with 2vCPU/2GB RAM, and we monitor close to 300 services/sites/servers.

This PR will affect the performance of our `uptime-kuma` instance. We currently run the service with 2vCPU/2GB RAM, and we monitor close to 300 services/sites/servers.
salitcao commented 4 years ago (Migrated from github.com)
Owner

I want to display average uptime 90 days. So how can I do that ?

I want to display average uptime 90 days. So how can I do that ?
deefdragon commented 4 years ago (Migrated from github.com)
Owner

A note on the performance/implementation: it might be possible to use a sliding summation/data collection for the graphs. In that case, you only need to add/remove the values that are now/are no longer relevant. The first request will be slow as the data is collected, but after that, it will be much faster.

A note on the performance/implementation: it _might_ be possible to use a sliding summation/data collection for the graphs. In that case, you only need to add/remove the values that are now/are no longer relevant. The first request will be slow as the data is collected, but after that, it will be much faster.
This pull request has changes conflicting with the target branch.
src/languages/da-DK.js
src/languages/es-ES.js
src/languages/et-EE.js
src/languages/it-IT.js
src/languages/ja.js
src/languages/ko-KR.js
server/model/monitor.js
src/languages/de-DE.js
src/languages/en.js
src/languages/fr-FR.js
Sign in to join this conversation.
Loading…
There is no content yet.