The Postgres development platform. Supabase gives you a dedicated Postgres database to build your web, mobile, and AI applications.
TypeScript aialternativeauthdatabasedenoembeddingsexamplefirebasenextjsoauth2pgvectorpostgispostgrespostgresqlpostgrestrealtimesupabasevectorswebsockets
chore: log drains on Pro Plan (#42435)
Kevin Grüneberg589cdae7e5fb
diff --git a/apps/docs/content/guides/platform/manage-your-usage/log-drains.mdx b/apps/docs/content/guides/platform/manage-your-usage/log-drains.mdxindex dac00f80c61..fef7ebb55fc 100644--- a/apps/docs/content/guides/platform/manage-your-usage/log-drains.mdx+++ b/apps/docs/content/guides/platform/manage-your-usage/log-drains.mdx@@ -36,7 +36,7 @@ Usage is shown as "Log Drain Hours" on your invoice.### Pricing-Log Drains are available as a project Add-On for all Team and Enterprise users. Each Log Drain costs <Price price="0.0822" /> per hour (<Price price="60" /> per month).+Log Drains are available as a project Add-On for all Pro, Team and Enterprise users. Each Log Drain costs <Price price="0.0822" /> per hour (<Price price="60" /> per month).## Log Drain Eventsdiff --git a/apps/docs/content/guides/telemetry/log-drains.mdx b/apps/docs/content/guides/telemetry/log-drains.mdxindex 9bf926f643d..9b5b8adfdd0 100644--- a/apps/docs/content/guides/telemetry/log-drains.mdx+++ b/apps/docs/content/guides/telemetry/log-drains.mdx@@ -4,7 +4,7 @@ title: 'Log Drains'description: 'Getting started with Supabase Log Drains'----Log drains will send all logs of the Supabase stack to one or more desired destinations. It is only available for customers on Team and Enterprise Plans. Log drains is available in the dashboard under [Project Settings > Log Drains](/dashboard/project/_/settings/log-drains).+Log drains send all logs of the Supabase stack to one or more desired destinations. It is only available for customers on Pro, Team and Enterprise Plans. Log drains are available in the dashboard under [Project Settings > Log Drains](/dashboard/project/_/settings/log-drains).You can read about the initial announcement [here](/blog/log-drains) and vote for your preferred drains in [this discussion](https://github.com/orgs/supabase/discussions/28324?sort=top).diff --git a/apps/studio/components/layouts/ProjectLayout/PausedState/ProjectPausedState.tsx b/apps/studio/components/layouts/ProjectLayout/PausedState/ProjectPausedState.tsxindex f1c0c2f3940..9899cd98fd2 100644--- a/apps/studio/components/layouts/ProjectLayout/PausedState/ProjectPausedState.tsx+++ b/apps/studio/components/layouts/ProjectLayout/PausedState/ProjectPausedState.tsx@@ -236,23 +236,9 @@ export const ProjectPausedState = ({ product }: ProjectPausedStateProps) => {{isPauseStatusSuccess && !isRestoreDisabled && (<CardFooter className="flex justify-end items-center gap-x-2">- {isFreePlan ? (- <Button asChild type="default">- <Link- href={`/org/${orgSlug}/billing?panel=subscriptionPlan&source=projectPausedStateRestore`}- >- Upgrade to Pro- </Link>- </Button>- ) : (- <Button asChild type="default">- <Link href={`/project/${ref}/settings/general`}>View project settings</Link>- </Button>- )}-<ButtonTooltipsize="tiny"- type="primary"+ type="default"disabled={!canResumeProject}onClick={onSelectRestore}tooltip={{@@ -266,6 +252,20 @@ export const ProjectPausedState = ({ product }: ProjectPausedStateProps) => {>Resume project</ButtonTooltip>++ {isFreePlan ? (+ <Button asChild type="primary">+ <Link+ href={`/org/${orgSlug}/billing?panel=subscriptionPlan&source=projectPausedStateRestore`}+ >+ Upgrade to Pro+ </Link>+ </Button>+ ) : (+ <Button asChild type="default">+ <Link href={`/project/${ref}/settings/general`}>View project settings</Link>+ </Button>+ )}</CardFooter>)}diff --git a/packages/shared-data/plans.ts b/packages/shared-data/plans.tsindex 0b906209837..b32860d63c5 100644--- a/packages/shared-data/plans.ts+++ b/packages/shared-data/plans.ts@@ -62,6 +62,7 @@ export const plans: PricingInformation[] = ['Email support','Daily backups stored for 7 days','7-day log retention',+ ['Add Log Drains', 'additional $60 per drain, per project'],],preface: 'Everything in the Free Plan, plus:',cta: 'Get Started',@@ -85,7 +86,6 @@ export const plans: PricingInformation[] = ['Priority email support & SLAs','Daily backups stored for 14 days','28-day log retention',- ['Add Log Drains', 'additional $60 per drain, per project'],],preface: 'Everything in the Pro Plan, plus:',cta: 'Get Started',diff --git a/packages/shared-data/pricing.ts b/packages/shared-data/pricing.tsindex 495798f6e38..f6ff197a0cb 100644--- a/packages/shared-data/pricing.ts+++ b/packages/shared-data/pricing.ts@@ -590,7 +590,7 @@ export const pricing: Pricing = {title: 'Log Drain',plans: {free: false,- pro: false,+ pro: ['$60 per drain per month', '+ $0.20 per million events', '+ $0.09 per GB egress'],team: ['$60 per drain per month', '+ $0.20 per million events', '+ $0.09 per GB egress'],enterprise: 'Custom',},