-
Notifications
You must be signed in to change notification settings - Fork 8.2k
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] Define UX design for information that is displayed when the user clicks on “Agent” to view its details #81872
Comments
cc @jen-huang |
Link to wireframes (in progress, will review with team this week) |
Updatecc @ravikesarwani @mostlyjason @mukeshelastic @nchaulet @ph During 7.11 and 7.12, we will make incremental changes to improve Agent Observability in Fleet. By 7.12, the goal is to provide detailed status information about an Elastic Agent's integrations and its inputs, as well as provide the user ability to view logs and metrics so they can diagnose and fix specific issues. Some of the more detailed information and functionality won't land until 7.12, but we will be making some UI changes in 7.11 in anticipation of this improved functionality. I've broken this message into 2 parts for 7.11 and 7.12. There is a lot to unpack, so please ask questions or leave feedback if you have any. 7.11In 7.11, we'd like to change how we display status information on the Agents table in Fleet. An Agent's status can be one of the following:
Note: if it's not possible to refactor the agent status to match the above, we can reuse our existing statuses but still fit them into the design that I am proposing in the screenshot below. Some of this information was previously shown globally in the header area for this page next to the "Add agent" button. In 7.11, we'd like to change this so that the information is shown directly above the agent table using a colorful "status bar". The status bar shows a breakdown of agent statuses, and it will update its numbers and display based on whatever query or filters are applied above. This will help users understand the breakdown of health statuses for a filtered group of agents. One other small change is how we represent agent status. Previously, we were using When a user clicks on a host name from the agents table, they are taken to the agent details page. This page will have a few updates in 7.11:
7.12In 7.12, we intend to extend the UI so that we are able to report status information and metrics for individual integrations. If an integration is labeled as "unhealthy" (which means an error was found for one or more corresponding inputs in the agent logs), this information will extend to the agent's overall health. If all integrations are healthy, then the agent's overall status will be labeled as "healthy". In the expanded state for the list of integrations, we want to list the integration's inputs, and for each input, show the last message received (red if it's an error message), a sparkline indicating the input's event rate over the past hour, and an additional action link to view metrics about this input in an Elastic Agent dashboard. This dashboard does not exist yet and will need to be created for 7.12 (cc @ravikesarwani). The dashboard should include similar metrics that we show in Stack Monitoring for Beats instances, and (if possible) it should include filter buttons to isolate metrics for a specific integration and input. |
Thanks @hbharding! |
Small update, per #83330, we want provide a way for the user to change an individual agent's logging level. I've updated the Figma file and added a select input to change the agent logging level beneath the new logs stream component. This input will only appear for agents >= 7.11. Users can also see the current agent logging level on the agent detail page where we show agent metadata See screenshots for step-by-step details1. Default state with the currently applied logging level 2. User selects a new logging level. A button appears that says "Apply changes" 3. After user clicks "apply changes", the select input becomes disabled while the system waits for a response. The button changes to a loading state that says "Applying changes..." 4. After a response returns, the UI displays a toast indicating what changed. UI state returns to step elastic/beats#1 |
Scenario: In the top Fleet page (where all the Agent is listed) the user sees that a particular Agent is not “Healthy” and clicks the “Agent” to view its details and debug the issue.
The view is designed to detail all the information (or link) to help users debug an issue with the Agent.
Following details needs to be captured in the design:
Status: Status of the Agent in broken into the following pieces
When any of the status is not healthy we need to show information that helps the user debug the issue:
Historical view of Agent status (nice to have):
The historical view of the Agent status is nice to have for initial release.
Agent and its sub processes (beats) logs:
Logs help users debug issues with Agent.
Agent and its sub processes (beats) metrics:
The Agent and its sub processes metrics helps the user root cause any performance related issues.
Key questions the user is trying to answer:
This metrics view helps user understand:
Agent as a supervisor runs other processes (beats) to perform the main tasks.
From a user perspective it's critical that the metrics can be viewed for the Agent as a whole (by default) but also be able to filter for a specific sub process. This is critical in debugging issues with a specific integration.
The logs and metrics should be filtered by the same filter and time picker to speed up investigation on an Agent issue by the user.
CC: @hbharding @mukeshelastic @mostlyjason @ph @nchaulet
The text was updated successfully, but these errors were encountered: