1
0
mirror of https://github.com/Unleash/unleash.git synced 2025-01-11 00:08:30 +01:00
unleash.unleash/src
Jaanus Sellin 6c8b1d8904
fix: when finding median time to production, ignore 0s (#7200)
We have an issue that if you open up Insights, the Time to Production
chart was showing nothing because it was taking the median across all
projects. You might have many new or empty projects where the median was
0 (no data).

For example, the median from [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1.7, 50.3, 140] was 0.

Now, we will remove the 0 values to have a more reasonable median.
2024-05-29 14:17:31 +03:00
..
lib chore: remove unused and deprecated methods in feature toggle legacy controller and in feature toggle service (#7199) 2024-05-29 11:01:33 +02:00
mailtemplates
migrations chore: rename roles toggles to flag (#7123) 2024-05-23 12:01:04 +03:00
test fix: when finding median time to production, ignore 0s (#7200) 2024-05-29 14:17:31 +03:00
migrator.ts
server-dev.ts chore: switch insights ui flag to kill switch (#7166) 2024-05-28 09:44:52 +03:00
server.ts