-
Notifications
You must be signed in to change notification settings - Fork 8.3k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[Profiling] Profiling data access plugin (#165198)
This is part 1 of a series of PRs to expose the flamegraph to be used by other plugins. **The problem** Currently for plugin-A to show data from plugin-B, it needs to add dependency on plugin-B. If plugin-B wants to show data from plugin-A, it also needs to add plugin-A as a dependency, and here is where the problem happens. In such scenario, we have a cyclic dependency problem. **The solution** To solve this problem a new plugin is created, `profiling-data-access`. This plugin exposes services that consumer plugins can call in other to have the data they need to show on their end. The `profiling` plugin is also using this new plugin. For now, only the flamegraph service is available, The idea is to slowly migrate the data fetching from profiling to this new plugin in other to facilitate the integration across plugins. **Why some many files?** As I said, only the flamegraph logic was moved to the new plugin, but it has many files that it needs to properly build the response of the service call. I moved all these files to the `common` folder inside the new plugin and adjusted the imports in the profiling plugin. <img width="1032" alt="Screenshot 2023-08-31 at 09 29 27" src="https://github.com/elastic/kibana/assets/55978943/287bd28e-b834-45e0-8042-576d1fcff6cd"> --------- Co-authored-by: kibanamachine <[email protected]>
- Loading branch information
1 parent
a6d0b78
commit acf8956
Showing
75 changed files
with
499 additions
and
697 deletions.
There are no files selected for viewing
Validating CODEOWNERS rules …
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
170 changes: 0 additions & 170 deletions
170
x-pack/plugins/profiling/common/run_length_encoding.test.ts
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.