Add a dropdown box for metrics on the environment tab - Disk i/o
Problem to solve
As per discussions in #32266 (closed) (and in this comment specifically), we decided to break down the work required to create the Infrastructure Dashboard MVC. This issue is specifically to add a dropdown to the existing deployments pod visualization, so users can switch the visualization displayed:
For this iteration, the options in this dropdown will include: one option to show the current deployments view, and an option for a single, additional metric. As a first pass, we could focus on adding the dropdown item (and corresponding visualization) for Disk I/O (we can, later on, add additional metrics as mention in this issue).
Each pod should also have a tooltip on hover, so that users can see the exact Memory usage value for the pod.
Measure spec for the data viz colors.
This issue is step two of a larger workflow:
- User views the pod visualization on Operations > Environments
- User can switch between visualizations using the dropdown, viewing either the deployments or metrics for the pods
- User clicks on a specific pod within the visualization
- Clicking on the pod will send user to a separate "pod detail view." From this view, users can switch either the pod log or the metrics for the pod, using the button group at the top of the page.
Note: #35242 (closed) is a pre-requisite