Handbook - Architecture
Architecture
CloudGrid is split into a public BFF, public OTLP collector, private Go services, NATS, and SurrealDB. The split keeps authorization, telemetry query.
On this page
On this page
CloudGrid is split into a public BFF, public OTLP collector, private Go services, NATS, and SurrealDB. The split keeps authorization, telemetry query semantics, and database access owned by the right service.
| Topic | Page |
|---|---|
| Service ownership | Service boundaries |
| OTLP write path | Ingest flow |
| GraphQL read path | Read flow |
| GraphQL live subscriptions | Live trace flow |
| Tenant, project, and secret boundaries | Tenancy and security |
At A Glance
Boundary Summary
- Frontend talks only to the TypeScript BFF.
- Public telemetry reads use GraphQL.
- The BFF talks to private services only through NATS request/reply and declared contracts.
- The collector publishes ingest commands and never writes SurrealDB directly.
storage-writeis the only normal telemetry mutator.storage-readis the only telemetry reader.control-planeowns companies, users, projects, memberships, dashboards, retention policies, alert records, and AI-eval project settings.
Last updated .