-
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
Remove legacy /api/status endpoint response format #94419
Comments
Pinging @elastic/kibana-core (Team:Core) |
Thanks for the ping, @joshdover. Yes, the cc: @sayden (he is currently the primary developer on Elastic Stack beats modules but I'm happy to answer any questions). |
Should we add a Deprecation warning in the Upgrade assistant somehow? Maybe, we can add it only when we get a request to |
I discussed this with @stacey-gammon & @kobelb, and since we don't have any telemetry indicating usage of this API, their preference is to take this a step further and introduce something like So to summarize:
Yeah, it wouldn't be bulletproof as it couldn't survive a server restart and the UA wouldn't show the warning unless the route was hit before UA was loaded. I wonder if just writing a deprecation log would be acceptable in this case? Otherwise AFAIK we don't really have another solution for using the deprecations service for REST APIs. Something that could be improved by #105692 though. |
@lukeelmers shouldn't we track |
@mshustov That's a good point, as we were focused on tracking As it is currently implemented But adding the telemetry for it would also be trivial, so I went ahead and created a follow-up task for it: #112519 |
In #76054, we added a new status format that reflects the architecture of the Kibana Platform. We still report using the old format by default and use only return the new format when the
v8format=true
query parameter is set.For 8.0, we need to remove support for the legacy format, but we should continue to accept the
v8format
query parameter, but ignore it, for smooth upgrades. This change should not be backported to the 7.x branch.In theory, we could continue to support the new and old formats and just change the default. This could ease some upgrade scenarios.
@ycombinator do you know if the kibana metricbeats module would need this compatibility in order to support smooth upgrades to 8.x?
The text was updated successfully, but these errors were encountered: