Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
The
/api/stats
API needs to be removed for 6.0 and onward as this API is not yet ready enough to be consumed by 3rd parties. Rather than keep it around and suffer breaking changes mid-6.x, it will later be replaced with a new API in a plugin, and it will have a different structure for its data model.Note that the
server.getKibanaStats
method is currently used, so it isn't yet being removed. This PR adds a note that mentions it will get a new home in the near future.The original PR that added this was made by @stacey-gammon in #11992