Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Health endpoint: display subsystem statuses #558

Open
cjllanwarne opened this issue Feb 6, 2019 · 0 comments
Open

Health endpoint: display subsystem statuses #558

cjllanwarne opened this issue Feb 6, 2019 · 0 comments

Comments

@cjllanwarne
Copy link
Collaborator

cjllanwarne commented Feb 6, 2019

It would be nice to update the format of /api/v1/health to surface subsystem unavailability, rather than just returning a blanket False.

Today's format:

{
  "available": true
}

Possible/proposed format for this endpoint:

{
  "ok": False,
  "messages": [],
  "systems": {
    "cromwell_url": {
      "ok: True,
      "messages": [],
      "systems": {
            "Cromwell": { "ok": True, "messages": [], systems: {} },
            "Sam": { "ok": False, "messages": [ "Errors happenin'" ], systems: {} }
      }
    }
  }
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant