brutasse / graphite-cyanite

A plugin for using graphite-web with the cassandra-based Cyanite storage backend.
BSD 3-Clause "New" or "Revised" License
85 stars 21 forks source link

No data from graphite-web #8

Open nanowish opened 9 years ago

nanowish commented 9 years ago

Hi,

I use graphite-web (from last github commmit). When using graphite-cyanite as finder I can't get all data from graphite-web

In cassandra having some data like: | 60480 | 10 | collectd.cl1-filer-big_intra.disk-drbd0.disk_octets.write | 1416087320 | [7.8023e+12]

When getting data from: http://******/render?target=collectd.cl1-filer-big_intra.disk-drbd0.disk_octets.write&format=json result is: [{"target": "collectd.cl1-filer-big_intra.disk-drbd0.disk_octets.write", "datapoints": [[7802289115136.0, 1416087320], [null, 1416087330], [null, 1416087340], [null, 1416087350], [null, 1416087360], [null, 1416087370], [null, 1416087380], [null, 1416087390], [null, 1416087400], [null, 1416087410], [null, 1416087420], [null, 1416087430], [null, 1416087440], [null, 1416087450], [null, 1416087460], [null, 1416087470], [null, 1416087480], [null, 1416087490], [null, 1416087500], [null, 1416087510], [null, 1416087520]]}]

You can see only first data are not empty

In cyanite log: DEBUG [2014-11-15 22:46:22,189] qtp1848532425-182 - io.cyanite.http - query now: collectd.cl1-filer-big_intra.disk-drbd0.disk_octets.write DEBUG [2014-11-15 22:46:22,297] qtp1848532425-100 - io.cyanite.http - got request: {:ssl-client-cert nil, :remote-addr 127.0.0.1, :params {:path collectd.cl1-filer-big_intra.disk-drbd0.disk_octets.write, :from 1416001582, :to 1416087982}, :headers {user-agent python-requests/2.3.0 CPython/2.7.3 Linux/3.2.0-4-amd64, host 127.0.0.1:8082, accept */*, accept-encoding gzip, deflate}, :server-port 8082, :content-length nil, :content-type nil, :character-encoding nil, :action :metrics, :uri /metrics, :server-name 127.0.0.1, :query-string path=collectd.cl1-filer-big_intra.disk-drbd0.disk_octets.write&from=1416001582&to=1416087982, :body #<HttpInputOverHTTP HttpInputOverHTTP@53d91ae4>, :scheme :http, :request-method :get} DEBUG [2014-11-15 22:46:22,298] qtp1848532425-100 - io.cyanite.http - fetching paths: collectd.cl1-filer-big_intra.disk-drbd0.disk_octets.write DEBUG [2014-11-15 22:46:22,351] qtp1848532425-100 - io.cyanite.store - fetching paths from store: (collectd.cl1-filer-big_intra.disk-drbd0.disk_octets.write) 10 60480 1416001582 1416087982 This same for all metrics, first datapoint have values, others are empty My setting work great with influxdb and finder for influxdb