Interface
Operations
Deployments, SLOs, and monitoring for Interface
Deployments
- Build from
services/interface/Dockerfile. - The container runs
granianagainstservices.interface.main:app. - Default listen port is
8080and honors thePORTenvironment variable.
Startup and shutdown behavior
- Loads
INTERFACE_API_KEYand optionalINTERFACE_SENTRY_DSNfrom Secret Manager. - Initializes and warms the Spanner connection pool.
- Clears the Spanner pool on shutdown.
Monitoring and alerts
- Sentry is enabled when
INTERFACE_SENTRY_DSNis available. - Logs are written to stdout with INFO-level defaults.
SLOs and SLIs
- TBD. Define latency and error targets that reflect Bubble usage patterns.
Scaling and performance
granianis configured with a single worker by default.- Query performance depends on Spanner indexes used by each endpoint.
- Avoid breaking response shapes or pagination semantics (legacy clients).
Last updated on