Watcher
Configuration
Runtime configuration and environment variables for Watcher
Required environment
export SPANNER_INSTANCE_ID="..."
export SPANNER_DATABASE_ID="..."Optional environment
export GRACE_PERIOD_MINUTES=60
export SENTRY_ENVIRONMENT="development"
export GCP_PROJECT_ID="..."Secrets
WATCHER_SENTRY_DSN(required; job fails without it)
Defaults
GRACE_PERIOD_MINUTES=60SENTRY_ENVIRONMENT=productionSPANNER_INSTANCE_ID=nestSPANNER_DATABASE_ID=nest
Notes
GCP_PROJECT_IDis resolved from metadata when running on GCP.- ADC is required to access Spanner and Secret Manager.
Last updated on