The Postgres development platform. Supabase gives you a dedicated Postgres database to build your web, mobile, and AI applications.
TypeScript aialternativeauthdatabasedenoembeddingsexamplefirebasenextjsoauth2pgvectorpostgispostgrespostgresqlpostgrestrealtimesupabasevectorswebsockets
feat: show realtime usage stats (#12579)
Kevin Grüneberg73ec957df441
diff --git a/studio/components/interfaces/Billing/Billing.constants.tsx b/studio/components/interfaces/Billing/Billing.constants.tsxindex 547f5c5460b..f253e1bbf0d 100644--- a/studio/components/interfaces/Billing/Billing.constants.tsx+++ b/studio/components/interfaces/Billing/Billing.constants.tsx@@ -1,4 +1,4 @@-import { Badge, IconArchive, IconCode, IconDatabase, IconKey } from 'ui'+import { IconArchive, IconCode, IconDatabase, IconKey, IconZap } from 'ui'export const CANCELLATION_REASONS = ['Pricing',@@ -154,4 +154,36 @@ export const USAGE_BASED_PRODUCTS = [},],},+ {+ title: 'Realtime',+ icon: <IconZap className="dark:text-scale-100" size={16} strokeWidth={2} />,+ features: [+ {+ key: 'realtime_message_count',+ attribute: 'total_realtime_message_count',+ title: 'Realtime Messages',+ units: 'absolute',+ costPerUnit: 0.0000025,+ tooltip: (+ <span>+ Billing is based on the total amount of messages throughout your billing period.+ </span>+ ),+ },++ {+ key: 'realtime_peak_connection',+ attribute: 'total_realtime_peak_connection',+ title: 'Realtime Concurrent Peak Connections',+ units: 'absolute',+ costPerUnit: 0.01,+ tooltip: (+ <span>+ Billing is based on the maximum amount of concurrent peak connections throughout your+ billing period.+ </span>+ ),+ },+ ],+ },]