Issue #7696 has been updated by Nigel Kersten.

Assignee changed from Nigel Kersten to Randall Hansen

These are some really useful ideas Kent, and there's definitely work we can do 
to make this more useful.

I'm assigning this over to Randall, our UX Director who is keenly involved in 
this sort of work on Dashboard , and we'll work out what we can do in this area.
----------------------------------------
Feature #7696: Inventory service 'Custom query' page should be more functional
https://projects.puppetlabs.com/issues/7696

Author: Kent Shultz
Status: Needs Decision
Priority: Normal
Assignee: Randall Hansen
Category: 
Target version: 
Keywords: 
Branch: 
Affected URL: 
Affected Dashboard version: 


Rather than simply returning a list of nodes that match the custom query search 
criteria, queries should return *fact values* for:

* the facts being searched on, and/or
* other user-selected facts

A simple example of the former: I do a simple search across all my nodes where 
operatingsystem != Ubuntu, and it returns a list that is a pair of values: the 
node's hostname, and what that node's value for operatingsystem actually is.

An example of the latter: I search on all nodes where has_someapp == true (a 
custom fact), but I want the returned list to display the value for memoryfree 
(maybe a small subset of my nodes are running someapp, a memory-intensive app, 
and I only want those returned, but I want to see their memory usage, not just 
their value for has_someapp). Optionally, I could add another fact value column 
to the output list, i.e. someapp_version, and quickly deduce that older 
versions of the app have different memory utilization. 

Perhaps the simple first example is more commonly useful for most Dashboard 
users, and could be default behavior. For the second, I envision that the user 
could select/type/checkbox in another input field which fact value(s) he/she 
would like displayed. 

Other ideas related to making the Custom query page more functional:

* Implement regex comparison for search criteria
* Implement behavior such that if no search criteria is specified, a list of 
all Dashboard nodes is returned, alongside with user-specified fact values (as 
described above)
* Sorting by fact-value columns in the output

I hope these are not unreasonable requests. I suppose for one thing it may only 
be doable when storing Inventory data in a database. 

Just some ideas to toss around!



-- 
You have received this notification because you have either subscribed to it, 
or are involved in it.
To change your notification preferences, please click here: 
http://projects.puppetlabs.com/my/account

-- 
You received this message because you are subscribed to the Google Groups 
"Puppet Bugs" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/puppet-bugs?hl=en.

Reply via email to