Skip to content

Rate Limit Error when trying to create BigQuery Tables #2240

@srasul

Description

@srasul

When starting a new instance of logflare with Supabase self-hosted, we are seeing this error message during the startup of analytics:

supabase-analytics  | 12:45:53.801 [error] BigQuery dataset create error: 1_default: Exceeded rate limits: too many dataset metadata update operations for this dataset. For more information, see https://cloud.google.com/bigquery/docs/troubleshoot-quotas
supabase-analytics  | 
supabase-analytics  | 12:45:53.805 [error] BigQuery dataset create error: 1_default: Exceeded rate limits: too many dataset metadata update operations for this dataset. For more information, see https://cloud.google.com/bigquery/docs/troubleshoot-quotas
supabase-analytics  | 
supabase-analytics  | 12:45:53.808 [error] BigQuery dataset create error: 1_default: Exceeded rate limits: too many dataset metadata update operations for this dataset. For more information, see https://cloud.google.com/bigquery/docs/troubleshoot-quotas
supabase-analytics  | 
supabase-analytics  | 12:45:53.828 [error] BigQuery dataset create error: 1_default: Exceeded rate limits: too many dataset metadata update operations for this dataset. For more information, see https://cloud.google.com/bigquery/docs/troubleshoot-quotas

After looking at code, it seems at this stage we are trying to create the BQ tables. And looking at the link in the error message, it seems that there is a rate-limit of 5 operations per 10 seconds:

image

Is there a way to add a small delay for these operations so that we don't hit a rate-limit?

We are using Logflare v1.8.2

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions