dashboards-assistant
dashboards-assistant copied to clipboard
[BUG] The time range of alert summary should shift forward by one bucket time range
What is the bug?
When summary an alert, the selected time range is alert[0].endTime-bucketTime --> alert[0].endTime, and the wrong data cannot be obtained in this time range. The correct time range should be: alert[0].startTime-bucketTime --> alert[0].endTime-bucketTime.
How can one reproduce the bug? Steps to reproduce the behavior:
- Create a monitor and set the bucket to 1d
- Prepare some error data
- Trigger alert
- End the error data
- The alert will end and complete.
- Summary the alert
What is the expected behavior? A clear and concise description of what you expected to happen.
What is your host/environment?
- OS: [e.g. iOS]
- Version [e.g. 22]
- Plugins
Do you have any screenshots? If applicable, add screenshots to help explain your problem.
Do you have any additional context? Add any other context about the problem.