Skip to content

Zero's /health endpoint returns just "Ok" where the same Alpha's endpoint returns a JSON #5517

@lukaszlenart

Description

@lukaszlenart

I'm testing Dgraph 1.2.3 version and notice there is a difference in /health endpoints for Zero and Alpha. It would be good to unify that endpoint to return the same JSON structure.

Zero's response to curl http://localhost:6080/health

Ok

Alpha's reponse to curl http://localhost:8080/health:

{"version":"v1.2.3","instance":"alpha","uptime":59131}

Metadata

Metadata

Assignees

Labels

area/usabilityIssues with usability and error messageskind/enhancementSomething could be better.status/acceptedWe accept to investigate/work on it.

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions