Danny White and Joshen Lim
5b0c50a2dc
feat(studio): show Warehouse query outcomes ( #53496 )
...
## Problem
The Warehouse report shows query volume but not how many queries are
running, failing or being canceled.
## Solution
Add queries in progress, errors, timeouts and cancellations alongside
query rate. Timeouts are labelled as part of errors; cancellations
remain separate. Missing measurements stay distinct from zero.
| After |
| --- |
| <img width="1798" height="2318" alt="CleanShot 2026-11-18 at 12 18
38@2x"
src="https://github.com/user-attachments/assets/79c5b3d7-ec04-4519-89d0-f99a77ec3521 "
/> |
| _Every chart tile except the first is new._ |
## Review instructions
1. Open the [Studio staging
preview](https://studio-staging-git-dnywh-warehouse-metrics-model-supabase.vercel.app )
with a staging project that has Warehouse access.
2. Go to **Observability > Warehouse**. Check the query activity and
outcome charts for a period with Warehouse traffic.
3. Change the period and refresh. Check that empty measurements are
distinct from measured zeroes, and that the timeout description makes
clear it is already included in errors.
---------
Co-authored-by: Joshen Lim <joshenlimek@gmail.com >
2026-11-19 15:17:39 +11:00
Danny White and Joshen Lim
8fcd5e7f65
feat(studio): add Warehouse report date controls ( #53494 )
...
## Problem
The Warehouse report only shows the last hour.
## Solution
Add date selection and refresh using the shared report controls. Respect
the organisation’s log retention limits and the metrics API’s 30-day
maximum.
| After |
| --- |
| <img width="1688" height="1050" alt="CleanShot 2026-11-18 at 11 35
24@2x"
src="https://github.com/user-attachments/assets/88267bf8-1054-480b-ac26-c0c2b58386bc "
/> |
| _The new controls._ |
| <img width="2420" height="1028" alt="CleanShot 2026-11-18 at 11 47
52@2x"
src="https://github.com/user-attachments/assets/383c06a0-5470-4748-b9a6-fe80647a1399 "
/> |
| _The standard retention upgrade prompt follow tapping either of these
on a Pro plan._ |
## Review instructions
1. Open the [Studio staging
preview](https://studio-staging-git-dnywh-warehouse-metrics-range-supabase.vercel.app )
and select a staging project with Warehouse access.
2. Open **Observability > Warehouse**, or
`/project/<ref>/observability/warehouse`
([example](https://studio-staging-git-dnywh-warehouse-metrics-range-supabase.vercel.app/dashboard/project/yirnfrgkxmnqgexikhfc/observability/warehouse )).
Change Last 60 minutes to Last 24 hours and check that the chart or
no-data state reflects the selected period.
3. Refresh the report. Check that the selected period stays selected.
4. On a paid staging organisation, select a period beyond its log
retention (for example, Last 14 days with 7-day retention). Check that
the retention upgrade prompt appears and the current period stays
selected.
---------
Co-authored-by: Joshen Lim <joshenlimek@gmail.com >
2026-11-19 15:08:18 +11:00
Danny White and Joshen Lim
48c90094d9
feat(studio): show Warehouse query activity in Observability ( #53495 )
...
## Problem
Warehouse query activity is not available in Observability.
## Solution
Add a Warehouse report showing query rate over the last hour, with
loading, setup, no-data and request-error states. The report uses live
project metrics and appears in navigation for projects with Warehouse
access.
| After |
| --- |
| <img width="2548" height="1416" alt="CleanShot 2026-11-17 at 16 55
33@2x"
src="https://github.com/user-attachments/assets/4d6796e0-72f1-45d5-b6b7-2cd4a3577496 "
/> |
| <img width="2552" height="1390" alt="CleanShot 2026-11-17 at 16 56
18@2x"
src="https://github.com/user-attachments/assets/d96efdfd-4ca9-42fe-ac30-9cb4667c95d7 "
/> |
| <img width="2544" height="1388" alt="CleanShot 2026-11-17 at 16 32
11@2x"
src="https://github.com/user-attachments/assets/bc80af8d-0468-4229-98d0-ac2681823059 "
/> |
| <img width="2560" height="1344" alt="CleanShot 2026-11-17 at 16 59
53@2x"
src="https://github.com/user-attachments/assets/1ed70348-c2fc-4673-85a7-530d9734886c "
/> |
Visitor | What they see
-- | --
Signed-in customer without Warehouse access | No Warehouse entry in
Observability
Customer with Warehouse access, not configured | “Warehouse is not set
up” empty state and setup button
Customer with Warehouse disabled | “Warehouse is disabled” empty state
and setup button
Customer with active Warehouse | Query rate chart, or the relevant
loading/empty/error state
## Review instructions
1. Open the [Studio staging
preview](https://studio-staging-git-dnywh-warehouse-metrics-client-supabase.vercel.app )
with a staging project that has Warehouse access.
2. Go to **Observability > Warehouse**, or
`/project/<ref>/observability/warehouse`
([example](https://studio-staging-git-dnywh-warehouse-metrics-client-supabase.vercel.app/dashboard/project/yirnfrgkxmnqgexikhfc/observability/warehouse )).
3. Check the query-rate chart after running Warehouse queries. A project
without measurements shows an explicit last-hour empty state.
4. Open the report on a project where Warehouse is not set up and check
the setup link.
---------
Co-authored-by: Joshen Lim <joshenlimek@gmail.com >
2026-11-19 14:57:39 +11:00