Skip to content
Platform

管理日志摄取使用情况

你被收费的项目 #

🌐 What you are charged for

你将被收取在计费周期内 Supabase 从你项目的所有服务(Postgres、API 网关、Auth、存储、实时、边缘函数等)摄取的日志数据总量费用,按 GB 计量。

🌐 You are charged for the total volume of log data that Supabase ingests across all your project's services (Postgres, API gateway, Auth, Storage, Realtime, Edge Functions, etc.) during the billing cycle, measured in GB.

费用是怎么计算的 #

🌐 How charges are calculated

日志摄取按账单周期内摄取的日志数据每GB收费。

🌐 Logs Ingest is charged per GB of log data ingested during the billing cycle.

在你的发票上的用途 #

🌐 Usage on your invoice

在你的发票上,使用情况显示为“日志摄取”。

🌐 Usage is shown as "Logs Ingest" on your invoice.

价格 #

🌐 Pricing

当计费实现上线时,定价详情和包含的配额将会在这里公布。

🌐 Pricing details and included quotas will be published here when billing enforcement goes live.

计费示例 #

🌐 Billing examples

当价格确定后,这里会发布账单示例。

🌐 Billing examples will be published here when pricing is finalized.

查看使用情况 #

🌐 View usage

你可以在仪表板的组织使用情况页面查看日志摄取使用情况。默认情况下,该页面显示所有项目的使用情况。要查看特定项目的使用情况,可以从下拉菜单中选择它。你也可以选择不同的时间段。

🌐 You can view Logs Ingest usage on the organization's usage page of the Dashboard. The page shows the usage of all projects by default. To view the usage for a specific project, select it from the dropdown. You can also select a different time period.

优化使用 #

🌐 Optimize usage

你在 Supabase 项目中的每个服务都会自动生成日志——你不需要直接去写它们。日志量会随着你应用的流量和行为而增加。要减少日志写入量:

🌐 Every service in your Supabase project automatically generates logs — you don't write them directly. Log volume scales with your application's traffic and behavior. To reduce ingest volume:

  • 配置 Postgres 日志设置。 Postgres 会记录连接、检查点、语句等日志——其中很多都可以调整或禁用。调整 log_connectionslog_min_duration_statementlog_statement 等设置可以显著减少 Postgres 的日志量。完整的可配置参数列表请参见 自定义 Postgres 配置
  • 在你的 Edge Functions 和服务器端代码中减少日志级别的详细程度(例如,在生产环境中将 infowarn)。
  • 在你的应用代码中审计详细日志。 转发到 Supabase 服务的应用级日志也会计入摄取量。
  • 限制日志负载大小。 大型结构化负载可能会增加按 GB 计费的流量。
  • 调查峰值。 使用仪表板中的 日志浏览器 查找产生异常高流量的服务或端点。

超额 #

🌐 Exceeding Quotas

如果你使用的是付费计划并且已关闭花费上限,或者你的组织使用的是团队计划及以上,你将需要支付任何超出部分的费用。

🌐 If you are on a paid plan and have Spend Cap disabled or your organization is on Team Plan or above, you will pay for any overages.

当你在使用免费计划或启用了消费上限时超出配额,你会收到发送到账单邮箱的通知,并进入宽限期。更多细节请参阅我们的公平使用政策

🌐 When you are exceeding your quotas while being on a Free Plan or having Spend Cap enabled, you will get a notification to your billing email address and put under a grace period. For more details, refer to our Fair Use Policy.