[Observability discussion] How do we untangle our dependencies between plugins? #88788
Labels
chore
R&D
Research and development ticket (not meant to produce code, but to make a decision)
Team:Observability
Team label for Observability Team (for things that are handled across all of observability)
@smith and @weltenwort, I know you two have thought about this a lot already. Primarily, we need to untangle our dependencies between each of our plugins because of Typescript, but I think it's a good idea to do this work for lots of reasons.
I'd just like to make sure we have a somewhat consistent way to manage breaking out shared pieces of our apps so that they can be imported across other Kibana plugins without causing complex dependency trees that risk accidental circular dependencies. Can we start a conversation about the different options for solving this here in this issue?
For instance, we've discussed breaking our various apps into multiple plugins, e.g. "logs-shared" and "logs-app", and require that all deps flow from shared to app. In this model, we would only export deps for others from our "-shared" apps.
Also pinging @elastic/logs-metrics-ui @elastic/apm-ui @elastic/uptime @elastic/kibana-core @elastic/kibana-stack-services for any context anyone on those teams can provide for how to best handle this.
The text was updated successfully, but these errors were encountered: