Skip to content

Instantly share code, notes, and snippets.

@areina
Last active August 29, 2015 14:06
Show Gist options
  • Save areina/06acceb32b5e6590cd4c to your computer and use it in GitHub Desktop.
Save areina/06acceb32b5e6590cd4c to your computer and use it in GitHub Desktop.
[~]$ curl http://foo:8086/db/bar/series\?u\=root\&p\=root\&q\=select%20sum\(value\)%20from%20service_31189720689_metric_79198034909.1m%20where%20time%20%3E%20%272010-09-01%2000%3A00%3A00.000%27%20AND%20time%20%3C%20%272010-09-30%2023%3A59%3A59.000%27
[{"name":"service_31189720689_metric_79198034909.1m","columns":["time","sum"],"points":[[0,1.020721e+06]]}]%
[~]$ curl http://foo:8086/db/bar/series\?u\=root\&p\=root\&q\=select%20value%20from%20service_31189720689_metric_79198034909.1m%20where%20time%20%3E%20%272010-09-01%2000%3A00%3A00.000%27%20AND%20time%20%3C%20%272010-09-30%2023%3A59%3A59.000%27
[{"name":"service_31189720689_metric_79198034909.1m","columns":["time","sequence_number","value"],"points":[[1283299200000,72026860001,1020721]]}]%
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment