Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Graphite: Query editor/parser failed when metric expressions starts with curly brace segment #528

Closed
time-less-ness opened this issue Jun 23, 2014 · 1 comment

Comments

@time-less-ness
Copy link

I am defining a query. I need a "complex" server list:

aliasByNode(scaleToSeconds(nonNegativeDerivative({busintel_,statlog_}.mysql.Bytes.received,0),1),0)

That is, I need all servers starting with busintel or statlog in my list. When I define this, the graph does update with all those servers as I requested, but I get an error in the Grafana UI:
"Expecting closing paranthesis[sic], got {"

Two things, first, fix the spelling:
http://en.wiktionary.org/wiki/parenthesis#English

Second, I suspect the UI shouldn't flag this as an error, especially given Graphite returns a legitimate graph for the query.

@time-less-ness
Copy link
Author

Just saw Issue #518. This looks like it's the same root cause, but there isn't a simple workaround this time, I don't think?

@torkelo torkelo added this to the v1.7 milestone Aug 1, 2014
@torkelo torkelo changed the title Query Editor Complex Server List Gives Error Graphite: Query editor/parser failed when metric expressions starts with curly brace segment Aug 1, 2014
@torkelo torkelo closed this as completed in 586399a Aug 1, 2014
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants