-
Notifications
You must be signed in to change notification settings - Fork 79
[ Webservice ]. Cassandra has data but API does not response result. #12
Comments
Hi @hiepsikhokhao can I get the full stacktrace from the cyanite server log please ? |
Dear, DEBUG [2014-03-10 15:21:23,702] New I/O worker #19 - so.grep.cyanite.http - got request: {:remote-addr 10.30.56.131, :scheme :http, :request-method :get, :query-string query=%2A, :action :paths, :content-type nil, :keep-alive? true, :uri /paths, :server-name localhost, :params {:query }, :headers {user-agent python-requests/2.2.1 CPython/2.6.6 Linux/2.6.32-279.5.2.el6.x86_64, accept */, accept-encoding gzip, deflate, compress, host 10.30.12.133:8080}, :content-length nil, :server-port 8080, :character-encoding nil, :body nil} |
Thanks for the report, will look into it On Mon, Mar 10, 2014 at 9:29 AM, Tran Loc notifications@github.com wrote:
|
Here's another example with some formatting. This is using
|
It looks like we're using a 0 limit because (in my case) |
@hiepsikhokhao , @neilprosser should be fixed in eeb2d58 |
Boom! That was quick. I'll deploy that now. |
I think I know why your query might not work, this is a separate issue On Wed, Mar 26, 2014 at 10:06 AM, Neil Prosser notifications@github.comwrote:
|
That hasn't worked for me. Changing line 224 to check |
indeed, sorry about this, updated at ccaf3fb, I'll try to cook up a test for this |
This looks fixed now. |
ok, thanks! |
Thanks @pyr a lot for your help :) |
Dear,
I setup cyanite and it works ok when i push some metrics. But when i push so many data in 2, 3 days, cyanite not display new metrics on graphite web. So i restart cyanite and all metrics not display on graphite-web. I check cyanite API: http://10.30.12.133:8080/paths?query=*, result = [] , fletch data : http://10.30.12.133:8080/metrics?path=UP_ZME_Test_30_14_10_30_12_42.loadavg.1min&from=1393150441&to=1393200441 , result = {"error":"LIMIT must be strictly positive"} . Please help me, and i don't understand rollups ("period and rollup") in config and why has 2 rollups? . I tried setup cyanite 3 times and all error with webservice.
Result Cassandra query:
cqlsh:metric> select path,data,time from metric where path in ('UP_ZME_Test_30_14_10_30_12_42.loadavg.1min') and rollup = 600 and period = 105120 and time >= 1393212735 and time <= 1394212735 order by time asc limit 1;
path | data | time
--------------------------------------------+--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+------------
UP_ZME_Test_30_14_10_30_12_42.loadavg.1min | [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0] | 1393213200
The text was updated successfully, but these errors were encountered: