-
Notifications
You must be signed in to change notification settings - Fork 458
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
Migrate visualisations to Lens #4768
Comments
@jsoriano Similar discussion applies here like for by reference. Can we add some hints during the build process or similar to warn devs? |
We need some better way to encourage developers to use more current standards. Printing warnings as we do now in some cases is easily ignored or overlooked. Producing errors in CI is usually too disrupting and difficult to introduce. We'd need to find some intermediary approach. Maybe elastic/package-spec#342 can help, but is probably not enough. We may need some mechanism to encourage warnings reduction in CI, maybe we can do something like failing if a PR affecting a package with warnings doesn't reduce the number of them. |
@jsoriano Agree. This might become a longer discussion, lets take it to a separate issue. |
@gvnmagni is part-way through a Lens-based refactor of the system metrics dash! |
Which version of Kibana starts supporting "Open in Lens" button? |
@kaiyan-sheng it was first introduced in 8.2. We have continued adding support for further configurations since then, especially in 8.5 and 8.6 when we finished all the cases we outlined for phase 1. This is the overall meta-issue that links to everything. So, a gradually increasing number of legacy visualizations are convertible as you advance from 8.2 forward to 8.6 where the vast majority can be (still subject to human review). In 8.7, we'll be promoting "Open in Lens" on dashboards (you can see some screenshots on elastic/kibana#146363) which will make it more obvious which visualizations can be automatically converted and easier to convert them. |
One challenge we will have during converting to Lens is that many / most of the packages are backward compatible with 7.17 which means there are limits on the features that 7.17 has. At some point, the compatibility version needs to be increased of the package so we can make use of all the features in Lens. |
Team FYI, We're currently scoping this effort and we are planning to work on this issue. |
We have a load of visualisations in the hosts view which would benefit from moving to Lens (I had an SRE interview today where they were expecting to be able to go into lens and add): +1 on the effort (you can assume the Infra UI Team will prioritise this effort where it adds business value - I'm seeing this already) |
Created an issue to track the Observability integrations on which we are working to migrate in Lens. #5221 |
We have dashboards that contain Input Controls visualizations and are now deprecated. We are thinking of using new Controls (introduced in 8.3) as part of this. Input Control visualization: We can make dependency filters that strictly depend on each other. There shouldn't be any functional difference between these two panels. |
cc @ThomThomson ^^ |
Hey @kush-elastic, by strict, do you mean subsequent controls being disabled until the controls that come before are selected? If so, are any clients confused or annoyed by this change in behaviour? From our research, it seemed like clients prefer being able to select from any control in the chain. When we created the new Controls, we wanted to enhance the functionality rather than being beholden to exactly how the old Controls worked. |
@ThomThomson sorry but I guess it was confusing, I just had a doubt that if we use new Controls will it affect users in any way or not. |
@kush-elastic, let us know if you run into any trouble, or have any feature requests or feedback for the new Controls! |
@ThomThomson |
Lens is the main editor that should be used for visualisations. Existing dashboards we own must be migrated to it. In #265 a previous discussion happened on Gaps to moving to Lens. The obvious ones are resolved but there might be more we uncover during the migration. This issue has the purpose to uncover these issues and track the migration to Lens. Any blockers during the migration must be mentioned in this issue. The current state of the migration from legacy visualisations to Lens for integrations can be found here (private link).
On overview from the state of 2022-12-06 is shared on the bottom. For tracking, I will list the top 5:
For the migration, there is an "Open in Lens" button which should hopefully help with the migration. The overall goal is to migrate all visualisations but lets start with the top 5 as the initial priority to also uncover potential migration blockers.
The text was updated successfully, but these errors were encountered: