-
Notifications
You must be signed in to change notification settings - Fork 8.3k
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
Expose overall status to plugins #75503
Conversation
Pinging @elastic/kibana-platform (Team:Platform) |
Thanks for doing this work! I'm not sure the newly added response is compatible with the legacy response though. The legacy response looks like (this is the object under the
The new response from this PR looks like:
All we technically need to report is the Am I using the API wrong? Or is this an oversight? |
My intention was to keep this legacy data out of the API exposed from Core. We're no longer going to use many of these fields moving forward but we will need to maintain some compatibility in some parts (the I see two options here:
(1) may be simpler so that we only have this mapping logic in one place (since I'll need to this in Core already for the HTTP API). One question: how is this data ingested by monitoring and do we need all of the fields? |
FYI I think this may just be being serialized strangely. The |
We just need the
This would work for us, but I could also the translation on our side. I'd defer to your judgement here as you are the maintainers of the API. |
If all you need is the state string, let's just do that translation in Stack Monitoring. This will reduce the amount of breaking changes on the Core API for us to manage and think about. I will merge this PR as-is then. |
@elasticmachine merge upstream |
💚 Build SucceededBuild metrics
History
To update your PR or re-run it, just comment with: |
Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>
Summary
Related to #41983
Exposes the API for reading Kibana's overall status to plugins in order to unblock @elastic/stack-monitoring-ui from deleting their legacy plugin. This API should only be used for data collection & reporting to external systems and should not drive application behavior.
Checklist
Delete any items that are not applicable to this PR.
For maintainers