SaaS Stack Integration
Morpheus is intentionally SaaS-heavy outside the TEE. The goal is to minimize self-managed control-plane code and reserve the confidential VMs for execution only.
Current Managed Stack
- Cloudflare
- edge gateway
- control plane
- queues
- workflows
- DNS / routes
- Upstash Redis
- shared rate limiting
- idempotency and replay suppression helpers
- Supabase
- durable job and application state
- Vercel
- web UI and backend routes
- Sentry
- browser and server error tracking
- Checkly
- API and browser synthetics
- Better Stack
- heartbeats, uptime, telemetry shipping
- Grafana Cloud
- optional deep relayer metrics only
Ownership Boundaries
Cloudflare
Cloudflare owns the first two layers of the production design:
- edge ingress
- control-plane auth and validation
- queue-backed execution lanes:
- workflow-backed orchestration lanes:
Key files:
Upstash Redis
Upstash is the shared external memory for:
- edge and backend rate limits
- replay-safe locks
- request-guard helpers
Key files:
Sentry
Sentry is the primary application error tracker for the Next.js surface.
Key files:
Checkly
Checkly owns active synthetic verification for:
- oracle web
- control plane
- edge gateway
- selected AA frontend surfaces
Key files:
Better Stack
Better Stack is the preferred operations layer for:
- cron heartbeats
- relayer heartbeats
- public uptime monitors
- log shipping / telemetry
Key files:
Grafana Cloud
Grafana Cloud is optional. It exists for deeper relayer metrics when Better Stack heartbeats and telemetry are not enough.
Key files:
Recommended Default Stack
For the current project size and operational goals:
- use Sentry for exceptions
- use Checkly for synthetic health
- use Better Stack for uptime, heartbeats, and telemetry
- keep Grafana Cloud disabled unless you need lower-level relayer metrics
That gives a simpler and cheaper default than running self-managed Prometheus infrastructure.
Required Credentials By Service
Cloudflare
Upstash
Sentry
- recommended:
Checkly
Better Stack
- heartbeat URLs
Grafana Cloud
Sync Commands
Rollout Order
- Cloudflare
- Upstash
- Supabase
- Sentry
- Checkly
- Better Stack
- Grafana Cloud only if needed
References
- Cloudflare Queues: https://developers.cloudflare.com/queues/
- Cloudflare Workflows: https://developers.cloudflare.com/workflows/
- Upstash Redis: https://upstash.com/docs/redis/overall/getstarted
- Sentry Next.js: https://docs.sentry.io/platforms/javascript/guides/nextjs/
- Checkly docs: https://www.checklyhq.com/docs/
- Better Stack Uptime: https://betterstack.com/docs/uptime/
- Grafana Cloud: https://grafana.com/docs/grafana-cloud/