-
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
[Fleet] Help users find integration health dashboards #153848
Comments
Pinging @elastic/fleet (Team:Fleet) |
cc @P1llus |
cc @kpollich - would be good to get your thought on this one since you've been focused on exposing more agent metrics in the UI |
There might be an opportunity here to add an API/service to easily search for an integration's dashboard based on name, cc @kpollich. |
I'm working on this and I have a basic version working (a button using the locator API) however I have some questions:
|
@hop-dev mmm I'll take a look and see if it's a quick one. Otherwise we can pull it to this sprint or the next. |
We can do a check similar to the one in this PR: https://github.com/elastic/kibana/pull/149721/files#diff-17e1fcea36e0edf158dfce2100a18d24929ce72f105922ca38b0854fa8ff4f35R35
This could work, but I also wonder if we can leverage the whitespace on the left side of the screen so these metric dashboards are a bit separated from agent actions. |
Thanks, I'll take a look, I'm a bit new to how the dashboards work :)
I agree on moving the button to the left, it makes it more visible to the user. |
++ to moving it to the left, but I would also leave the links separated to avoid an extra menu click since there's plenty of room after moving it. |
@joshdover |
@criamico - Do we need client-side SO here to resolve the dashboard ID's? If so maybe we can add the dashboards as a meta property on the If the ID's are predictable, though, maybe we can hard code similar to Josh's example above? Happy to take a look at a draft PR as well if that helps. |
Closes #153848 ## Summary - Adds two link buttons on top of agent list page to access "Ingest overview" and "Agent Info" dashboards <img width="1444" alt="Screenshot 2023-04-13 at 15 22 53" src="https://user-images.githubusercontent.com/16084106/231772174-00c00a8e-62f1-43ea-a935-bc12f56f3e50.png"> The links are built using the new URL service [locator](https://github.com/elastic/kibana/blob/e80abe810837eeeff7fdcd594c6f8950590b49cd/x-pack/plugins/fleet/public/hooks/use_locator.ts#L14) and the [getRedirectLink](https://github.com/elastic/kibana/blob/main/src/plugins/share/README.mdx#using-locator-of-another-app) method; - Refactoring existing instances of `useKibanaLink` to use the url locator instead; These new dashboards were already accessible from the ` elastic_agent.*` datastreams table actions, however I replaced the `useKibanaLink` hook there as well: <img width="1412" alt="Screenshot 2023-04-13 at 16 03 47" src="https://user-images.githubusercontent.com/16084106/231784273-693c7f36-4545-4c06-a05e-4f09e53bd903.png"> TODO: I don't know where to add the "Integrations" dashboard yet, I'm not sure it should go on the Integrations details page. ### Checklist - [ ] [Unit or functional tests](https://www.elastic.co/guide/en/kibana/master/development-tests.html) were updated or added to match the most common scenarios - [ ] This renders correctly on smaller devices using a responsive layout. (You can test this [in your browser](https://www.browserstack.com/guide/responsive-testing-on-local-server)) --------- Co-authored-by: Kibana Machine <[email protected]>
Hi Team, We have created 04 test cases for this feature under the Fleet test suite at the links:
Please let us know if we are missing any scenarios to be covered here. Thanks! |
Hi Team, We have executed 04 testcases under the Feature test run for the 8.8.0 release at the link: Status:
Build details: As the testing is completed on this feature, we are marking this as QA:Validated. Please let us know if anything else is required from our end. |
Goals
Help users:
High level proposal
In elastic/integrations#5335 new dashboards were added to the "Elastic Agent" package that is installed on every cluster using Fleet. These are not easy to find and we should provide appropriate affordances within the Fleet and Integration UIs to these dashboards.
Below are my recommendations on where to add links to each dashboard, please add any suggestions on improvements we can make to these ideas. I'm not an expert designer 😄
Ingest overview dashboard
This is a very high-level dashboard that currently shows data volume by integration and agent and acts an entry point to drill down into the other dashboards. We could add a link from the main Fleet landing page by adding an "Ingest Overview" link next to the "Agent activity" button.
Agent info dashboard
This should probably have a similar link as Ingest Overview on the Fleet UI to "Agent Overview". If it's too noisy to have so many buttons, maybe we just leave the Ingest Overview one and let users find the agent by the in-dashboard nav.
Integrations overview dashboard
This dashboard is useful for looking at a specific integration. I think we should link to a filtered version of this view from the "data streams" tab. We can add a "View integration metrics" link to the "actions" submenu for row.
This could also be linked from the Integrations Details page for each integration.
Implementation
A couple of functional requirements:
The text was updated successfully, but these errors were encountered: