feat!: let checkers and status page servers reach data only through the api
Only cmd/api connects to Postgres and Redis. Agents authenticate with tokens created by 'api agent create' and use /agent/v1: checkers long poll for jobs, which doubles as heartbeat, and report results in batches. Organizations manage monitors through /api/v1/org/monitors. BREAKING CHANGE: cmd/checker and cmd/statuspage no longer read UPTIME_DATABASE_URL or UPTIME_REDIS_*; they need UPTIME_API_URL and UPTIME_AGENT_TOKEN. UPTIME_CHECKER_REGION is replaced by the region bound to the agent token. Closes #10 Closes #11 Closes #12 Closes #13 Closes #49 Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_017GpWAskjmYtZpuQ5JwYTX3
This commit is contained in:
1 parent
56862dce84
commit
d9891bb050
23 files changed
+1361
-45
No files matched your search
@@ -32,20 +32,33 @@
|
||||
"console.nav.tokens": "API tokens",
|
||||
"console.sso_required_action": "Sign in with SSO",
|
||||
"console.totp_missing_action": "Set up now",
|
||||
"error.agent_protocol_unsupported": "This agent version is not supported by the API. Please update the agent.",
|
||||
"error.already_assigned": "The member already has this role.",
|
||||
"error.already_member": "This person is already a member.",
|
||||
"error.email_taken": "This email address is already registered.",
|
||||
"error.forbidden": "You are not allowed to do this.",
|
||||
"error.internal": "Internal error.",
|
||||
"error.invalid_code": "Invalid code.",
|
||||
"error.invalid_config": "The check settings are not valid.",
|
||||
"error.invalid_credentials": "Wrong email or password.",
|
||||
"error.invalid_domain": "One of the domains is not valid.",
|
||||
"error.invalid_email": "Please enter a valid email address.",
|
||||
"error.invalid_expect_status": "Expected status codes must be codes like 200 or classes like 2xx.",
|
||||
"error.invalid_header": "A request header is not valid.",
|
||||
"error.invalid_input": "Please check your input.",
|
||||
"error.invalid_interval": "The interval must be at least {{.Min}} seconds and at most one day.",
|
||||
"error.invalid_method": "Only GET and HEAD requests are supported.",
|
||||
"error.invalid_permissions": "Choose at least one permission.",
|
||||
"error.invalid_record": "Unsupported DNS record type.",
|
||||
"error.invalid_region": "Unknown region.",
|
||||
"error.invalid_resolver": "The resolver must be given as host:port.",
|
||||
"error.invalid_slug": "Short name: 2–63 characters, a–z, 0–9 and hyphen.",
|
||||
"error.invalid_target": "The target is not valid for this check type.",
|
||||
"error.invalid_timeout": "The timeout must be between 100 ms and 60 s and shorter than the interval.",
|
||||
"error.invalid_type": "Unknown check type.",
|
||||
"error.invitation_email_mismatch": "This invitation was sent to a different email address than the one you are signed in with.",
|
||||
"error.invitation_invalid": "This invitation is invalid, expired or was already used.",
|
||||
"error.keyword_needs_get": "Keyword checks need GET requests.",
|
||||
"error.mfa_expired": "Sign-in expired, please start again.",
|
||||
"error.no_password": "This account has no password.",
|
||||
"error.not_found": "Not found.",
|
||||
|
||||
Reference in new issue
Block a user