auxesis / visage

Graph collectd metrics in the browser, backed by a JSON API
http://visage-app.com/
Other
381 stars 56 forks source link

Regex's in the Builder searchers don't seem to work #97

Closed jessereynolds closed 11 years ago

jessereynolds commented 12 years ago

As I understand, I should be able to enter ".*" (ie dot star) into a searcher to have it select everything, but this produces a javascript error:

Uncaught TypeError: Cannot call method 'get' of null Class.selectbuilder.js:262 wrapper.extend.$ownermootools-core-1.4.0-full-compat.js:1643 (anonymous function)builder.js:92 (anonymous function)mootools-core-1.4.0-full-compat.js:947 defnmootools-core-1.4.0-full-compat.js:4233

Similarly the .* pattern within other text, eg "cpu./." also fails.

aussielunix commented 12 years ago

I was able to get it working but it's not a smooth ride. I didn't use a regex as such though. Just by typing mysql and nothing else it selected all metrics that contained mysql This is a huge list on my system and appeared to do nothing for around 50-90 seconds then just worked as expected.

Cheers Mick @aussielunix

auxesis commented 11 years ago

The current iteration of the builder goes away in 3.0.

Resolving.