-
Notifications
You must be signed in to change notification settings - Fork 3.5k
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
Can't join more than two series, and even those return empty results #624
Comments
It's said in docs that we can join multiple series. In practice I can join only two series. When I try to join more than two series I'm always get syntax error. Could you please give a valid syntax for multi series joins? |
+1. Not a deal killer but it would save a lot of collector hacking to combine on the client side. Thanks |
This is currently keeping me from being able to calculate an application's Apdex score and display it in Grafana, because the Apdex formula uses three variables (see http://apdex.org/overview.html) and I get a syntax error when trying to join three series. |
@beckettsean - For completeness' sake, can you explain how this is obsoleted by |
If you have challenges with 0.9 and merging three series as mentioned in your earlier comment, please open a new issue. |
The documentation states rather definitively "Joins will put two or more series together." So, I wrote a tiny node.js script to write the results of os.cpus() once a second. At first I put each CPU's data into a separate series, and then tried to join them to make a continuous query with their aggregate data
To my dismay, however, this query did not parse! Looking at the code made it clear why: the grammar currently only allows a two series to be joined.
Looking at the examples, I decided to restructure the database so that there is one table, "cpus", with an additional column "cpu" for the cpu ID. I then tried to do a simple join like this
...and got back an empty list! My script explicitly sets the time column for each point, so for each unique time there is an row for every CPU id. Any idea on why this join is failing to produce any useful results?
Here's the current script:
The text was updated successfully, but these errors were encountered: