netdata / netdata-cloud

The public repository of Netdata Cloud. Contribute with bug reports and feature requests.
GNU General Public License v3.0
41 stars 16 forks source link

[Feat]: Improve navigation while troubleshooting #1050

Open ktsaou opened 6 days ago

ktsaou commented 6 days ago

Problem

While working with hundreds of nodes in a space, we find ourselves having to copy and past hostnames to switch views (from metrics, to logs, to top, to anomalies and vice versa).

Ideally, users should never be forced to copy and paste hostnames while troubleshooting.

Description

When the application shows hostnames (anywhere, in metrics, logs, alerts, top functions, events, nodes), the hostname itself should be a drop-down menu with the following options:

  1. Open this node tab (like the existing open icon)
  2. Select only this node (if more than this node are currently selected in the global nodes filter)
  3. Include this node (if it is excluded in the global nodes filter)
  4. Exclude this node (if it is currently included in the global nodes filter)
  5. Node Alerts (ie goto Alerts tab/Running with this node selected)
  6. Anomalies (ie goto Anomalies tab with this node selected)
  7. Top > (submenu with all Top options for this node)
  8. Logs > (submenu with all Logs options for this node)

This would allow us to navigate throughout the application without having to copy and paste nodes anywhere.

Today, the single node tab shows only metrics. However it should also provide a copy of all the global tabs, limited to this node only (Metrics, Top, Logs, Alerts, Anomalies, Events). So, the right-top side of the single node tabs, should have these options:

Node XYZ [icon to select only this node] [icon to include this node] [icon to exclude this node]

All the above should open in the single node tab.

Importance

really want

Value proposition

  1. Allow navigating the application and troubleshooting without copying and pasting node names
  2. Provide contextual information per node, in the single node tab

Proposed implementation

As described above.

ktsaou commented 6 days ago

@novykh if you can bring everything in the single node tab, then the node drop-down menu needs only the options 1-4 (above).

If you cannot bring all the global tabs (restricted to this node) into the single node tab, then the options 5-8 are really needed in the node drop-down menu.