fluxgatedocs
Dashboard ↗GitHub

Readiness

GET/readyz
No authenticationAll servicesAPI 1.0.0

Reports whether this instance should receive traffic.

Base URL

These addresses are for local development. Replace them with your own deployed service URLs.

http://localhost:8080 Ingest API (local development)

http://localhost:8082 Query API (local development)

http://localhost:8081 Aggregator operations endpoints only (local development)

Request example

Replace credential and batch-key placeholders before running. JavaScript examples use Node.js 24; Python examples use the standard library. Browser clients need a same-origin proxy or suitable CORS configuration. See safe retries for production retry handling.

bash
curl --request GET 'http://localhost:8080/readyz'

Responses

Expand a response to inspect its headers and complete schema.

200Ready to serve.

Ready to serve.

application/json

ProbeStatus ↗
statusstringrequired
"ok" "draining" "degraded"
checksobjectoptional

Per-dependency result; details of failures are logged server-side, not exposed in this response.

Additional values · string
"ok" "unavailable"

Illustrative response

Values are examples; they are not a response from a hosted Fluxgate service.

json
{
  "status": "ok",
  "checks": {
    "postgres": "ok"
  }
}
503Draining, or a dependency check failed. The `checks` map names the

Draining, or a dependency check failed. The checks map names the failing dependency.

application/json

ProbeStatus ↗
statusstringrequired
"ok" "draining" "degraded"
checksobjectoptional

Per-dependency result; details of failures are logged server-side, not exposed in this response.

Additional values · string
"ok" "unavailable"
Something to improve? Edit this page View source

Search the complete documentation.