auxesis / visage

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

Metrics labels containing hash (#) fail to draw graphs #125

Closed jessereynolds closed 11 years ago

jessereynolds commented 11 years ago

If you include a metric identifier containing # in graph, that graph will fail to draw. Eg:

/var/lib/collectd/rrd/ns1.example.com/dns/dns_qtype-#0.rrd

The "#0" in the above identifier is the type instance. This is a valid type instance name according to https://collectd.org/wiki/index.php/Naming_schema - "...may use all ASCII characters except the null-byte and the slash character (‘/’)".

jessereynolds commented 11 years ago

Eg Request URL:

http://stats/data/ns1.example.com/dns/dns_qtype-#99?callback=Request.JSONP.request_map.request_5

Returns an empty hash: Status:200 {}

auxesis commented 11 years ago

Wow, this is exceptionally dumb behaviour from Visage.

I'm am of two minds how to fix this:

@jessereynolds: how important is it to get this bug fixed now? Can you wait a little while longer for 3.0?

On Friday, February 22, 2013, Jesse Reynolds wrote:

Eg Request URL:http://stats/data/ns1.example.com/dns/dns_qtype-#99https://github.com/auxesis/visage/issues/99 ?callback=Request.JSONP.request_map.request_5

Returns an empty hash: Status:200 {}

— Reply to this email directly or view it on GitHubhttps://github.com/auxesis/visage/issues/125#issuecomment-13918243.

w: http://holmwood.id.au/~lindsay/ t: @auxesis

jessereynolds commented 11 years ago

@auxesis understand ... It's not impacting me directly so lets focus on 3.0!

auxesis commented 11 years ago

Awesome. I've merged the rebuilder branch into master in anticipation of the 3.0 release.

Still needs more work, but getting closer every day.

auxesis commented 11 years ago

Pretty much all fixed in 3.0.

Resolving.