-
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
[metrics_data_access] move MetricsTable components to package #170122
Comments
Pinging @elastic/infra-monitoring-ui (Team:Infra Monitoring UI) |
Pinging @elastic/obs-ux-infra_services-team (Team:obs-ux-infra_services) |
Thanks for this, I've reviewed this but in order to prioritise, more info needed in order to understand user value for this. Are you able to summarise what this value this brings to the user? |
@roshan-elastic this is tech debt, so no value to the user, but value to reducing the underlying complexity of the app, preventing bugs, making it simpler to develop new features that touch this code, etc. I'll leave it to @klacabane to weigh in on whether this still a good ROI on the chore/tech debt front! :) |
The point of this task is to adopt more precisely the tiered plugin system. Right now the implementation is slightly off and breaks a convention, this ticket aims at implementing an ideal state (see #166834 (comment)). |
IMO we should replace this table with some kind of "related entities" component and close anything related to this table that's not an immediate security risk. |
Great - thanks all. Playing this back:
|
Thanks, @klacabane — so for extra clarity for everyone, this ticket isn't about any changes to the MetricsTable component itself but rather about how to organize any such components or packages that use data from the data access plugins. If this component is being "phased out" and is only used in one place, there's probably not much harm in leaving it as-is (although clearly marking it as not for future use would be nice). The most important thing is to evangelize how to best separate packages so they have as small of a chance as possible to introduce circular dependencies, which brings Great Pain to us all every day. :) |
Summary
#166834 follow up
In #166834 we removed the apm->infra dependency by moving the necessary components out of infra plugin to metrics_data_access. The UI components are still part of the plugin start contract but should be moved to a package that can be statically imported; the observability package is a good place to host the components. At the moment the components are only used in apm plugin's Infrastructure tab.
Acceptance criteria
The text was updated successfully, but these errors were encountered: