-
Notifications
You must be signed in to change notification settings - Fork 41.2k
Health indicators have ambiguous keys #1291
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
Comments
That looks odd indeed. I assume you only have the |
👍 I think the output structure should be similar if we have one |
I'm not sure that I agree entirely - if there is only one |
@dsyer right now we the following structure when more then one
and the following with only one: So with the proposed change this would change to:
I think that would be consistent. |
In case that the information is going to be processesd by a machine, I believe it would be good to have the same structure regardless of whether there is one entry or many. That way, if you start with one Indicator, write a parsing script, and later add a second one, your parsing script will still work. Same for removing an indicator down to one. Parsing the result should stay as robust as possible. |
@tkruse I agree. |
This change has broken the |
It returns |
Hi,
invoking the health actuator, I got this response:
{"status":"UP","version":"2.4.8"}
It would be nice if there was slightly more information here by default, such as what the version belongs to (in my case mongodb version).
The text was updated successfully, but these errors were encountered: