getsentry / sentry

Developer-first error tracking and performance monitoring
https://sentry.io
Other
38.69k stars 4.15k forks source link

Y-axis scaling #75729

Open ale-cota opened 1 month ago

ale-cota commented 1 month ago

Problem: For certain metrics like crash-free rates which are displayed as %, if all the values are within a small range (98% to 100%), the visualisation is not helpful since it appears as an almost stable line at the top.

Image

Proposed solution: Add an auto-scale option in the widget builder. When enabled, the minimum value of the Y-axis is also adjusted based on the min/max values within the time range. This should work similarly to the Project Details and Alerts charts for crash free sessions.

Image

Image Image

ale-cota commented 1 month ago

Likely related to https://github.com/getsentry/sentry/issues/57352