Incidents
Keep track of the timeline of issues
What are Incidents?
An incident, in general terms, can be defined as a disruption or unexpected event that affects the normal operation of a service or system. In the context of Miru, an incident refers to any issue or outage that impacts the availability or performance of a service being monitored.
Incidents can range from minor issues that cause slight performance degradation to major outages that render a service completely unavailable. They can be caused by various factors, including hardware failures, software bugs, network issues, or external events such as natural disasters.
Auto Incidents
This feature is in beta and may be subject to change in the future.
By default, the monitoring service will automatically create incidents for you when a monitor goes down and resolve them when the monitor comes back online. It will also alert any subscribers, workspace members, and notification channels. You can disable this feature in Miru's config file.
Disable Auto Incidents
To disable auto incidents, navigate to your Miru config file and under the [incidents.auto]
table, set enabled
to false
:
[incidents.auto]
enabled = false
This will prevent Miru from automatically creating incidents when a monitor goes down. You can learn more about the config file under the Configuration page.
Creating an Incident
Any workspace member can create an incident. To do so, head over to the Incidents section in the admin panel and click on Create Incident.
Title
The title is the most important part of the incident. It should be a short and descriptive title that summarizes what is going on. This is the first thing users will see when they visit your status page, so make sure it's clear and concise.
Affected Monitors
The affected monitors are the monitors that are impacted by this incident. This is important for users to know which services are affected by the incident. You can select multiple monitors to be affected by the incident.
Status
The status of the incident is a way to communicate the current state of the incident. The status can be one of the following:
- Investigating: The incident is being investigated and no further information is available.
- Identified: The incident has been identified and a fix is being worked on.
- Monitoring: The incident has been fixed and is being monitored to ensure it stays fixed.
- Resolved: The incident has been resolved and no further action is needed.
Your Message
The message is used to communicate any additional information about the incident. This can include details about what caused the incident, what is being done to fix it, and any other relevant information. This is a great place to provide updates on the status of the incident and keep users informed.
Creating a report
Once an incident has been created, you can create additional reports to provide updates to keep your users in the loop. To do so, head over to the Incidents section in the admin panel and click on the incident you want to create a report for. Then, click on Create Report.
Status
The current status of the incident. The status can be one of the following:
- Investigating: The incident is being investigated and no further information is available.
- Identified: The incident has been identified and a fix is being worked on.
- Monitoring: The incident has been fixed and is being monitored to ensure it stays fixed.
- Resolved: The incident has been resolved and no further action is needed.
Your Message
The message is used to communicate any new information since the last report. This can include details about what has changed, what is being done to fix it, and any other relevant information.
Managing reports
Miru allows you to edit or delete incident reports, however, it is extremely important to note that this should be done with caution. Editing or deleting reports can lead to confusion and misinformation, so it is recommended to only do so if absolutely necessary.
Once a report has been editied or deleted, it cannot be undone.
Editing reports
To edit a report, head over to the Incidents section in the admin panel and click on the incident that contains the report you want to edit. Then, while hovering over the report, click on the button with the pencil icon ().
You'll see a modal with the report details. You can edit the status and message of the report. Once you're done, click on Save to save your changes.
Deleting reports
You can only delete reports if the incident has not been resolved already. This is to prevent misinformation and confusion among users.
To delete a report, head over to the Incidents section in the admin panel and click on the incident that contains the report you want to delete. Then, while hovering over the report, click on the button with the trash icon ().
You'll see a modal asking you to confirm the deletion. Click on Delete to delete the report. This action cannot be undone, so make sure you really want to delete the report before confirming.
Viewing Incidents
Incidents are displayed in a timeline format. This allows you and your users to see the history of events that have occurred in the past. The timeline is sorted by date and time, with the most recent events at the top.
If you have monitors with an incident linked to a status page, the status page will also display the incident in the same manner.