-
Notifications
You must be signed in to change notification settings - Fork 4.9k
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
System breaking changes for 8.0 #28292
System breaking changes for 8.0 #28292
Conversation
Pinging @elastic/integrations (Team:Integrations) |
This pull request is now in conflicts. Could you fix it? 🙏
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Glad to see this is happening, you mention these metrics are already in the linux module, I was wondering if the removal affects any system visualizations or if we have been warning our linux users about the move? Do we have any deprecation message in place for now?
Last I checked, these are independent of any visualizations
|
we usually add a |
Looping in @akshay-saraswat and @mukeshelastic to help us making this call |
I think this should have been done when the linux module was added and the metrics in the system module were deprecated. Now that this code is being removed, there is no place where to place this warning 😅 These are metricsets enabled by default, so I guess users using default config are not going to miss any data, but we have to check the migration paths. What is going to happen to linux users when they upgrade to 8.0 if they have customized the |
@jsoriano this is a tad awkward, since we're not really depricating any metricsets or config values, but chunks of reported metrics within those metricsets. From a user config standpoint, nothing is really changing. |
I agree here, we should have introduced the message sooner, the metricset is not being removed just several metrics so I was asking if it makes sense to add the deprecation message still in 7.16 and/or 8.0 (different wording in 8.0). Users might be caught off-guard when upgrading to 8.0 and not finding those metrics anymore in the system module. |
* make breaking changes for 8.0 * changelog * update * fix tests * add removed build tag * trying to fix windows tests
What does this PR do?
This PR makes a series of long-awaited breaking changes in the system module in preparation for 8.0
Notably, it removes a series of linux-exclusive metrics currently in the system module. These changes have been in place in elastic-agent for nearly a year, but for the sake of backwards compatibility, I added a series of shims so the metrics remained in
metricbeat
until 8.0.Note that all these metrics are duplicated in the
linux
module, and these shims were to keep duplicated metrics in the system module, where they had lived before we decided to "clean up" the system module to remove the (at the time) surplus of linux-only metrics.Why is it important?
This removes a bit of tech debt that was put in place to avoid making breaking changes.
Checklist
CHANGELOG.next.asciidoc
orCHANGELOG-developer.next.asciidoc
.