/Integrations
v1.2Upstash
Validate Upstash Redis REST connectivity, latency, and quota headroom.
Integration
Upstash
Redis connectivity checks and quota monitoring.
Upstash Redis usually sits on the hot path—rate limiting, session storage, queues, and caches. When it is unreachable or out of quota, symptoms show up as slow auth, dropped jobs, or 500s that are hard to trace back to the cache layer. PreFlight validates connectivity and quota headroom before launch traffic arrives.
Requirements
- Upstash Redis REST URL for the database you are launching with
- Upstash Redis REST token (read access is sufficient for connectivity checks)
- Optional database name or region label for clearer reports
Use the REST credentials
PreFlight uses the Upstash REST endpoint, not a raw TCP connection, so the check works from serverless and edge environments without a persistent socket.
What PreFlight checks
| Probe | What it proves |
|---|---|
| REST reachability | The REST URL and token authenticate and the database answers a lightweight command. |
| Redis ping | A ping-style command confirms the database is live and responsive. |
| Connectivity latency | Round-trip time is recorded to spot region mismatch between app and database. |
| Quota headroom | Request or storage limits are surfaced before launch traffic spikes usage. |
Failure guidance
| Symptom | Fix |
|---|---|
| Auth rejected | Copy the REST token from the Upstash console—tokens are scoped per database. |
| High latency | Move the Upstash database closer to your primary deployment region. |
| Near quota | Upgrade the plan or reduce request volume (batch commands, longer cache TTLs). |
| Wrong database | Confirm the REST URL and token belong to the same Upstash Redis instance. |
Dashboard setup
- Open Integrations → Upstash in your PreFlight project.
- Copy the REST URL and REST token from Upstash → your database → REST API.
- Optionally add a region label so reports read clearly across environments.
- Run Pre-Flight Check and confirm ping and quota probes pass.
