puppetexplorer icon indicating copy to clipboard operation
puppetexplorer copied to clipboard

General drill-down page

Open elofu17 opened this issue 8 years ago • 0 comments

(If implemented, this issue replaces issues #67 and #68)

Request:

On the dashboard i have "Nodes NOT in production env" (query => '#node.catalog_environment != production') This board shows "3". When I click on this board I want to see a "drill-down page" with a pie-chart at the top and a nodelist beneath it, with details about the 3 environments and which nodes use them. The pie-chart should show three pieces and a legend on the right, listing the names of the three unique responses to the query. In the nodelist beneath it, all nodes in the response are listed, together with their value.

 srv1 | test-env
 srv2 | johns_feature_foo
 srv6 | johns_feature_bar

If clicking on a pie piece, only those nodes are shown, the rest is filtered out in the list beneath. If clicking on a node in the list you're forwarded to the usual #nodes page for that node.

The exact same thing should happen for a dashboard with a fact query (see issue #68). Example: I have a board called "Facterversion" (fact-query => 'facterversion') This board shows "3". When I click on this board I see the pie-chart with three pieces, 90%, 5% and 1%, and beneath it a list of all the nodes:

 srv1  | 3.9.0
 srv2  | 3.9.0
 srv2  | 3.9.0
 ... and so on for the nodes running v3.9.0... (90%)
 srv74 | 3.8.0
 srv77 | 3.8.0
 srv78 | 3.8.0
 srv33 | 3.6.8

elofu17 avatar Nov 30 '17 14:11 elofu17