- New package app/billing: Init/RecordUsage/Close with auto-migrate - Integration in actionHandler: record tenant_id, operation, msg_count, msg_bytes - Helm chart: billing section in values.yaml, secret-billing.yaml, env vars in deployment - Optional: billing disabled by default (BILLING_PG_HOST not set = no-op) - Table: sqs_usage_records with index on (tenant_id, recorded_at)
31 lines
197 B
Plaintext
31 lines
197 B
Plaintext
# Binaries
|
|
shared-sqs
|
|
*.exe
|
|
*.dll
|
|
*.dylib
|
|
/bin/
|
|
|
|
# IDE
|
|
.idea/
|
|
.vscode/
|
|
*.swp
|
|
*.swo
|
|
*~
|
|
.DS_Store
|
|
|
|
# Environment
|
|
.env
|
|
.env.local
|
|
*.log
|
|
*.pem
|
|
*.key
|
|
|
|
# Build
|
|
dist/
|
|
build/
|
|
|
|
# Secrets
|
|
secrets/
|
|
goaws
|
|
cmd
|