-
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
[Lens] Create curated suggested visualisations based on index pattern #100642
Comments
Pinging @elastic/kibana-app (Team:KibanaApp) |
As discussed offline: I'm imagining an API like this: type Contract = {
datasources: {
indexpattern: {
registerSuggestionHelper: (helper: IndexPatternSuggestionHelper) => void;
}
}
};
interface IndexPatternSuggestionHelper {
id: string;
getPreferredOperation(indexPattern: IndexPattern, field: IndexPatternField) => undefined | { operationType: OperationType; title: string };
} Index pattern datasource will call |
It's a workflow we want to have in the Exploratory view as well so perhaps it can benefit both places. |
Part of this is that solutions can register helpers, but I think we can also be more opinionated around the data stream naming scheme index patterns. If Lens is opened for |
Just came across this ticket, I'd like to share some thoughts on the topic because it's one UX improvement we see in infra.
In the same way integration packages register dashboards and some other assets, one idea is to introduce a new saved object type that would store these built-in metrics/templates. So teams responsible for those packages could contribute to more formulas, as well as the community. In fact, I was brainstorming some ideas and put together some thoughts on a doc: https://docs.google.com/document/d/1JCjIHh4mkXE7Q46iiUolodkvbwCNXlisGlSOUOsZKYQ |
Lens in empty view suggests that
Drop Fields here to start
We should help beginner users with more curated visualisations templates in empty view.
For example if user selected synthetics index patterns, in that case we can have some sort of cards/pills views in the empty state, to highlighted curated visualizations.
We can suggest create
Up/Down monitor histogram
, visualizemonitor duration
over time.Same goes for Rum index pattern, we can suggest user to visualizae
web core vitals
,performance distributions
.We can leverage index pattern fields meta data, or we can also ask respective apps in observability to register those templates with lens.
Uptime app can register those pre built templates with lens regarding up/down ping histogram.
APM/UX app can register templates regarding apm/rum data.
The text was updated successfully, but these errors were encountered: