grafana / incident-community

Public repository for Grafana Incident feedback, bug reports, discussions, and updates.
25 stars 2 forks source link

Incident duration does not respect start / end date #45

Closed dstockhammer closed 1 year ago

dstockhammer commented 1 year ago

Describe the bug

The incident duration shown prominently on the incident details view does not respect the overridden start / end date. It appears to only take the actual creation / end date of the incident (= the entity in Grafana) into account. This number is pretty much useless for us, what we're interested in is how long the incident lasted from the defined start until the defined end, which may not match when the incident was created / closed in Grafana (aka declared).

To Reproduce Steps to reproduce the behavior:

  1. Create an incident
  2. Change the start date to 2 days ago
  3. Close the incident
  4. Change the end date to 1 day ago

Expected behavior Incident duration should be 1 day (approx)

Screenshots

image

Relevant system information

matryer commented 1 year ago

Hey @dstockhammer thanks for opening this. I'd call this a bug, because I agree with you - it should be Start to End time, not declared to resolved time.

clord commented 1 year ago

Fixed; we should have a release soon that will resolve.