Health report
GET
/healthz
HttpRequest request = HttpRequest.newBuilder() .uri(URI.create("http://localhost:8080/healthz")) .method("GET", HttpRequest.BodyPublishers.noBody()) .build();HttpResponse<String> response = HttpClient.newHttpClient().send(request, HttpResponse.BodyHandlers.ofString());System.out.println(response.body());const url = 'http://localhost:8080/healthz';const options = {method: 'GET'};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request GET \ --url http://localhost:8080/healthzThe engine’s own health report (mode, version, partitions, log and exporter figures). It always answers 200; status says UP or DOWN.
Responses
Section titled “ Responses ”The health report
Media typeapplication/json
object
status
required
string
Example
{ "status": "UP"}