louislam / uptime-kuma

A fancy self-hosted monitoring tool
https://uptime.kuma.pet
MIT License
55.78k stars 5.02k forks source link

is uptime kuma able to show muti incident event #4953

Open joebnb opened 1 month ago

joebnb commented 1 month ago

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

🛡️ Security Policy

📝 Describe your problem

it's seems uptime kuma only support one incident event to display,but in some case serval incident may happen in same time,in this case if i click create event previous incident will deleted(unpin)

is there have some configuration to keep them both

📝 Error Message(s) or Log

No response

🐻 Uptime-Kuma Version

latest

💻 Operating System and Arch

Ubuntu

🌐 Browser

chrome 126

🖥️ Deployment Environment

joebnb commented 1 month ago

may i create a PR to make mutiple incident event show at same time ?

CommanderStorm commented 1 month ago

1 pinned incident per status page makes sense to me. Having more pinned is not a common thing I imagine. Wat is true is that we should have a history to view past incidents. See the discussion around https://github.com/louislam/uptime-kuma/pull/4943 for more insights ^^

joebnb commented 1 month ago

i think show multiple incident and incident history are two things.

show multiple incident is a indicator of current ongoing incidents.user can get insigh what and how many incidents current is happening.

incident history are look back of incidents.

if one incidents is still ongoing,but a new incident will replace it.when this case occur the old ongoing incident update user may not have a quick insight and cause a wrong illusion that that incidents was gone from status page(incident was resolve)

and the multiple incident case example like cloudflare status page the "Billing issues relating to subscription adjustments" they were "pin" more than one month,during this period they also pin other incidents in top of page. https://www.cloudflarestatus.com/ current only one incidents,if there more than one i'll take a screenshot.

i think multiple incident and multiple maintain events(already supported ) sustain at same time is normal in large monitor system.pls consider let me to implement this.

CommanderStorm commented 1 month ago

Going from 1:1 to 1:n is likely fine. The current UI + DB layout is not optimised for this though.

Make sure that:

joebnb commented 1 month ago

Going from 1:1 to 1:n is likely fine. The current UI + DB layout is not optimised for this though.

Make sure that:

  • you include a migration
  • go over the UX to match the change

okay, when I have time, I'll follow the contribute guide to submit a pull request. please help review it then.

joebnb commented 1 month ago

i have done this in #4986 , if need any further adjustments or specific terms included, let me know