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.
curl --request GET 'http://localhost:8080/readyz'const response = await fetch("http://localhost:8080/readyz", {
method: "GET",
headers: {}
});
if (!response.ok) throw new Error(await response.text());
const result = await response.json();
console.log(result);import json
from urllib.request import Request, urlopen
request = Request(
"http://localhost:8080/readyz",
method="GET",
headers={}
)
with urlopen(request, timeout=30) as response:
result = json.load(response)
print(result)Responses
Expand a response to inspect its headers and complete schema.
200Ready to serve.
Ready to serve.
application/json
ProbeStatus ↗statusstringrequired"ok" "draining" "degraded"checksobjectoptionalPer-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.
{
"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"checksobjectoptionalPer-dependency result; details of failures are logged server-side, not exposed in this response.
Additional values · string
"ok" "unavailable"