One Discover will introduce the concept of "profiles", which will support contextual awareness at three levels:
Root (current solution, navigation params, etc.)
Data source (ES|QL query or data view)
Document (ES|QL result or ES document)
This will introduce additional complexity in the application since profiles can be combined in various ways based on the context resolution process. To help support debugging and allow looking "under the hood" at runtime, we should introduce a way to inspect which profiles / context are currently active.
One way of doing this would be to introduce a new tab in the inspector flyout when using Discover providing a view of the currently active profiles, their context level, and any associated metadata.
📓 Summary
One Discover will introduce the concept of "profiles", which will support contextual awareness at three levels:
This will introduce additional complexity in the application since profiles can be combined in various ways based on the context resolution process. To help support debugging and allow looking "under the hood" at runtime, we should introduce a way to inspect which profiles / context are currently active.
One way of doing this would be to introduce a new tab in the inspector flyout when using Discover providing a view of the currently active profiles, their context level, and any associated metadata.