pricing: phase-1: add data usage / Accessible for Rill Projects#9080
pricing: phase-1: add data usage / Accessible for Rill Projects#9080
Conversation
Expose `dataSizeBytes` from the runtime `GetInstance` response and display a visual usage pill on the project status overview. Non-Team plans show a full blue bar; Team plans fill proportionally toward the 10 GB cap, deepening to primary-700 when at capacity. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
|
@begelundmuller any issues with backend changes here? |
|
once #9166 merged; edit PR to include isFree and isGrowth |
Resolved conflict in proto/gen/rill/runtime/v1/api.pb.go by accepting main's generated protobuf descriptor bytes and manually re-adding the GetInstanceResponse.DataSizeBytes field and its getter method from the PR branch. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
…ge-api' into rendo/feat/team-usage-pill
# Conflicts: # proto/gen/rill/admin/v1/openapi.yaml # proto/gen/rill/admin/v1/public.openapi.yaml # web-admin/src/features/projects/status/overview/DeploymentSection.svelte # web-common/src/runtime-client/v2/gen/query-service.ts
|
Thanks @begelundmuller for the quick API, will have APP review now! |
|
@ericokuma for functionality, (not exactly pricing, but good to add while we're here) In the case of self-managed, it is Data accessible, else its Data usage. clicking takes you to the Tables tab for detailed view. |
|
I think just remove the cap for team and don't show the meter (for team you can go over the cap and you just pay more). So might be best to just do plain text no cap for all cases and you can make the plain text look like a clickable link that will take you to the Project Status > Tables page. (Style it like how you've styled it for Repo). Though I guess this meter makes sense for the free forever plan with a hard cap of 1GB Call it Data Size not Data Usage |
Expose
dataSizeBytesin the runtimeGetInstanceAPI responseShow a visual fill-pill on the project status overview for Rill-managed OLAP projects
Team plans: bar fills proportionally toward 10 GB cap; deepens to
primary-700at capacityPill links to the tables detail page
Uses API herE: #9203
Checklist:
Developed in collaboration with Claude Code