Aller au contenu

Platform health and diagnostics

Ce contenu n’est pas encore disponible dans votre langue.

Liveness and readiness, the metrics scrape endpoint, the served schema artefacts, and the debugging surface.

Every address below is served under the control plane’s base URL. Permission is the guard the route is registered with; who holds it is read from the control plane’s own grant, so it cannot drift from what the server does. A dash means the route carries no permission guard of its own — the access tier below the table is then the whole of what stands in front of it.

Generated from Route. Hand edits to this table are overwritten on the next build — change the Go doc comment, or the generator.

Route Permission Who holds it Body
ANY /api/v1
GET /api/v1/config config:read developer, operator, readonly, support
PUT /api/v1/config config:write an administrator only, through the wildcard grant
GET /api/v1/debug debug:access operator
GET /api/v1/debug/bundle debug:access operator
POST /api/v1/debug/bundle debug:access operator
GET /api/v1/debug/bundle/{id}/download debug:access operator
GET /api/v1/debug/cache debug:access operator
GET /api/v1/debug/consul debug:access operator
GET /api/v1/debug/docker debug:access operator
GET /api/v1/debug/events/stats debug:access operator
POST /api/v1/debug/reconcile/{deployment} debug:access operator
GET /api/v1/debug/scaling/{deployment} debug:access operator
GET /api/v1/debug/state debug:access operator
GET /api/v1/schema config:read developer, operator, readonly, support
GET /api/v1/schema/{artefact} config:read developer, operator, readonly, support
GET /api/v1/schema/{artefact}/{type} config:read developer, operator, readonly, support
GET /api/v1/system/info
ANY /debug/pprof
ANY /debug/pprof/
ANY /debug/pprof/cmdline
ANY /debug/pprof/profile
ANY /debug/pprof/symbol
ANY /debug/pprof/trace
GET /healthz
GET /metrics
GET /readyz

authenticated — Behind authentication, cross-site-request-forgery validation and tenant extraction. Every call acts inside exactly one tenant.

off-by-default — Registered only when its configuration switch is on, and outside the authenticated router when it is.

platform-operator — Platform-operator surface, across tenants. Not part of a tenant’s own API.

unauthenticated — No authentication middleware on the router. The handler is responsible for whatever verification it needs.

No role holds the permissions below explicitly. They are satisfied by the administrator’s wildcard grant and by nothing else, so an operator or a developer cannot call these routes however their tenant is configured. That is a role-model question rather than a documentation one; it is recorded here because a reader planning around it needs to know before they try.

  • PUT /api/v1/config — needs config:write

Each route below is registered at more than one place in the control plane. The router serves the first registration; the rest are unreachable. Where two of them carry different permissions the table above shows the one the router uses, and both are listed here — a second registration is where a permission a reader expects to apply turns out not to.

ANY /api/v1

  • pkg/api/server.go:503 — no permission guard
  • pkg/api/server.go:545 — no permission guard
  • pkg/api/server.go:1121 — no permission guard