Skip to content

specify the schema of health scope output #151

Open

Description

@wonderflow

Now we have defined the spec of health scope, but I can't find the output of health spec. Do we need to specify the schema of health scope output? Because we hope other trait can use the health scope output to make decision.

Maybe we can make the output something like this:

{"state":"unhealthy/healthy/bad","components":{"comp1":"healthy","comp2":"unhealthy"}}
  1. the output must give the health state of the instance
  2. the output must include health details of component

/cc @hongchaodeng

Activity

  1. hongchaodeng commented on Sep 17, 2019

    @hongchaodeng
    Member

    I totally agree.
    I think the status should go in the instance of app-scope which is under development in https://github.com/microsoft/hydra-spec/pull/147.

  2. self-assigned this
    on Sep 17, 2019
  3. suhuruli commented on Sep 17, 2019

    @suhuruli
    Contributor

    When you say output you mean when a user or other part of Hydra queries the health scope, we agree on a common output?

  4. hongchaodeng commented on Sep 17, 2019

    @hongchaodeng
    Member
  5. added this to the backlog milestone on Oct 15, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions