mirror of
https://github.com/supabase/supabase.git
synced 2026-05-22 17:00:43 +08:00
## Problem The CPU usage chart in the Observability dashboard could show values exceeding 100%, differing from the internal Grafana panel that support uses for debugging. ## Solution Add a stackedPercent prop to the chart system that locks the Y-axis to [0, 100]. When enabled, the chart never visually overflows 100% while tooltip values remain completely untouched. We fill the rest of the unused with an "Idle" prop. # Before <img width="1240" height="684" alt="CleanShot 2026-03-18 at 16 04 26@2x" src="https://github.com/user-attachments/assets/c1b1a5ac-86e0-4d6b-9bc4-c7837f30c28c" /> ## After <img width="1240" height="684" alt="CleanShot 2026-03-18 at 16 03 13@2x" src="https://github.com/user-attachments/assets/419eea55-176d-46c4-8780-b8c372428047" /> <img width="934" height="700" alt="CleanShot 2026-03-18 at 16 03 41@2x" src="https://github.com/user-attachments/assets/9b5ef61d-21f4-40e4-ab0c-1a11caadb1f8" /> --------- Co-authored-by: Claude Opus 4.6 <noreply@anthropic.com>