Regions
How a project gets its region
Each organization has one data region. Squasher sets the region when you create the organization, and every project in the organization uses that region. New organizations getus. The dashboard does not show a region choice.
You cannot change the region of an organization in the dashboard or the API.
Find the region of a project
Open the Setup page of the project. It shows the Region and the Collector URL of the project. The coding-agent prompt on the same page includes the same values asdata_region
and collector_url. See Set up with a coding agent.
Where the SDKs send data
The SDKs send data tohttps://ingest.squasher.ai by default. When Squasher checks the ingest
key, it also reads the region of the project. It then sends the request to the collector for
that region. You do not set a region in the SDK.
Data stays in its region
Squasher does not write data for a project to a different region. Each regional collector accepts data only for projects in its own region. If a request for a project goes to the collector of a different region, the collector does not store the data. It returns this response:- Status
503 Service Unavailable - Header
Retry-After: 60 - Body
{"error":"regional deployment mismatch"}