Commit 05e1d47c authored by Heinz N. Gies's avatar Heinz N. Gies

Update for time range reads

parent 04bdf545
......@@ -23,7 +23,7 @@ handle(Req, State) ->
{ok, Req3} = cowboy_req:reply(200, Req2),
{ok, Req3, State};
_ ->
{ok, Bs} = ddb_connection:list(),
{ok, Bs} = ddb_connection:list_buckets(),
Bs1 = [bucket_info(B) || B <- Bs],
dalmatiner_idx_handler:send(ContentType, Bs1, Req1, State)
end.
......
......@@ -38,7 +38,7 @@ get_metrics(Bucket, []) ->
|| Metric <- Ms];
get_metrics(Bucket, Path) ->
{ok, Ms} = ddb_connection:list(
{ok, Ms} = ddb_connection:list_pfx(
Bucket, dproto:metric_from_list(Path)),
Sep = <<"'.'">>,
[<<"'", (dproto:metric_to_string(Metric, Sep))/binary, "'">>
......
......@@ -3,23 +3,23 @@
{<<"cowboy">>,{pkg,<<"cowboy">>,<<"1.0.4">>},0},
{<<"cowlib">>,{pkg,<<"cowlib">>,<<"1.0.2">>},1},
{<<"ddb_client">>,{pkg,<<"ddb_client">>,<<"0.5.5">>},2},
{<<"ddb_connection">>,{pkg,<<"ddb_connection">>,<<"0.3.3">>},1},
{<<"ddb_connection">>,{pkg,<<"ddb_connection">>,<<"0.4.2">>},1},
{<<"dflow">>,{pkg,<<"dflow">>,<<"0.2.1">>},1},
{<<"dproto">>,{pkg,<<"dproto">>,<<"0.5.2">>},1},
{<<"dqe">>,
{git,"https://github.com/dalmatinerdb/dqe.git",
{ref,"0365f55474bd028060057d2be009128ef2fe1bfb"}},
{ref,"8591d328275e9165df47cb3bcb65a09680cf3de0"}},
0},
{<<"dqe_fun">>,{pkg,<<"dqe_fun">>,<<"0.2.0">>},1},
{<<"dqe_idx">>,{pkg,<<"dqe_idx">>,<<"0.2.1">>},1},
{<<"dqe_idx_ddb">>,{pkg,<<"dqe_idx_ddb">>,<<"0.2.4">>},1},
{<<"dqe_idx_pg">>,{pkg,<<"dqe_idx_pg">>,<<"0.3.6">>},1},
{<<"dqe_idx">>,{pkg,<<"dqe_idx">>,<<"0.3.0">>},1},
{<<"dqe_idx_ddb">>,{pkg,<<"dqe_idx_ddb">>,<<"0.4.0">>},1},
{<<"dqe_idx_pg">>,{pkg,<<"dqe_idx_pg">>,<<"0.4.0">>},1},
{<<"dynamic_compile">>,{pkg,<<"dynamic_compile">>,<<"1.0.0">>},1},
{<<"eper">>,{pkg,<<"eper">>,<<"0.94.0">>},0},
{<<"epgsql">>,{pkg,<<"epgsql">>,<<"3.3.0">>},3},
{<<"erlware_commons">>,{pkg,<<"erlware_commons">>,<<"1.0.0">>},0},
{<<"fifo_lager">>,{pkg,<<"fifo_lager">>,<<"0.1.4">>},0},
{<<"fifo_utils">>,{pkg,<<"fifo_utils">>,<<"0.1.35">>},0},
{<<"fifo_utils">>,{pkg,<<"fifo_utils">>,<<"0.1.37">>},0},
{<<"goldrush">>,{pkg,<<"goldrush">>,<<"0.1.9">>},1},
{<<"hdr_histogram">>,{pkg,<<"hdr_histogram">>,<<"0.2.0">>},1},
{<<"ibrowse">>,{pkg,<<"ibrowse">>,<<"4.4.0">>},1},
......@@ -33,7 +33,7 @@
1},
{<<"mmath">>,{pkg,<<"mmath">>,<<"0.2.17">>},1},
{<<"msgpack">>,{pkg,<<"msgpack">>,<<"0.3.5">>},0},
{<<"otters">>,{pkg,<<"otters">>,<<"0.2.4">>},0},
{<<"otters">>,{pkg,<<"otters">>,<<"0.2.8">>},0},
{<<"pgapp">>,{pkg,<<"pgapp">>,<<"0.0.2">>},2},
{<<"poolboy">>,{pkg,<<"poolboy">>,<<"1.5.1">>},2},
{<<"qdate">>,
......@@ -52,19 +52,19 @@
{<<"cowboy">>, <<"A324A8DF9F2316C833A470D918AAF73AE894278B8AA6226CE7A9BF699388F878">>},
{<<"cowlib">>, <<"9D769A1D062C9C3AC753096F868CA121E2730B9A377DE23DEC0F7E08B1DF84EE">>},
{<<"ddb_client">>, <<"86DDDCE3B379DD3B0B425299DCE86CA49AB00DE8B59DE876EF3F1FA780F39F11">>},
{<<"ddb_connection">>, <<"F0FDB0BC1C8D545CFA9603108D69F6D88AE5106510031BF856B47CB9C259E3F0">>},
{<<"ddb_connection">>, <<"D59222829EE5DFF89690AAD2E26D422C30BB14F1AA5A61A7921BF02D58735DB8">>},
{<<"dflow">>, <<"86B9F3A9AE8B6AA11A1AB65A7E24C1509A8562E6926F98866F1A03FE2BDC3015">>},
{<<"dproto">>, <<"D1C9929353589BD395CAB3E5C6E1CFC4DC8B0660527145E2DD221771D4467ABD">>},
{<<"dqe_fun">>, <<"BA26ED83AC2A75B6D9A448413416AACE21B5D057DA9FB7E8ECEAAE3B45E9DA3A">>},
{<<"dqe_idx">>, <<"6BD1F0DE217DF0B213BD86CDBE19F5EEDBCAF0D5CBD51D955DB574A5C2DBA1EE">>},
{<<"dqe_idx_ddb">>, <<"2316B160D3EF3AAF2C60213A870D7B6A13C4035BF578DDC52301DA879099420C">>},
{<<"dqe_idx_pg">>, <<"5B93531BC946E53BED16947ADB01753F54DF6E057AD0B18AD13E603540C9A779">>},
{<<"dqe_idx">>, <<"EDCA91E5130C532D4B33AF678197ADC25AA4FA7471AC75033290F8AD8392874D">>},
{<<"dqe_idx_ddb">>, <<"815DB58A7ED01A7040E43A9228DDD119738C4C743F1F33D61E550AAE83CF4319">>},
{<<"dqe_idx_pg">>, <<"198FDE786226CB4688C3F9A06A74C765CAAFF0ED0F5528A4D56D73A54305F2FA">>},
{<<"dynamic_compile">>, <<"8171B2CB4953EA3ED2EF63F5B26ABF677ACD0CA32210C2A08A7A8406A743F76B">>},
{<<"eper">>, <<"F5FB2DAA0DF8878748E1C598428EDA942A173E5121FF35C1D632129B84593A3A">>},
{<<"epgsql">>, <<"974A578340E52012CBAB820CE756E7ED1DF1BAF0110C59A6753D8337A2CF9454">>},
{<<"erlware_commons">>, <<"087467DE5833C0BB5B3CCDD387F9E9C1FB816A75B7A709629BF24B5ED3246C51">>},
{<<"fifo_lager">>, <<"9374233205CFC02F837FEFA28209673D7DAD1BC2ADE8534742951C34B6278817">>},
{<<"fifo_utils">>, <<"649F4DCC5C640912A7686DED2B92F3E5B9C117146688DFFFCE518AD1B3E7D92A">>},
{<<"fifo_utils">>, <<"34EC0F222281449D7BE9B057DC0D53258DB477DC9A3D33DD1BD1766479E90010">>},
{<<"goldrush">>, <<"F06E5D5F1277DA5C413E84D5A2924174182FB108DABB39D5EC548B27424CD106">>},
{<<"hdr_histogram">>, <<"95A7EC3C8FA354E4CFBFC8F4168EE8F07BD3965CA22B9C45B2A2C9D13B03DCEC">>},
{<<"ibrowse">>, <<"2D923325EFE0D2CB09B9C6A047B2835A5EDA69D8A47ED6FF8BC03628B764E991">>},
......@@ -76,7 +76,7 @@
{<<"lager_logstash_backend">>, <<"66405FEC3223C13D94C3112933D4234FC7BF8C7DB77A1C9C162183AB5C044F73">>},
{<<"mmath">>, <<"DFD52637B19F1EEF6B0AAAC473CAC2FC27A7190B6A6420454A917423527F3030">>},
{<<"msgpack">>, <<"1C46114241011452DEEC8145851745A0BB5B637CEE028D4D4ADB9DC3527AF06A">>},
{<<"otters">>, <<"ACFC0DB3A8D4D1EE1C3FD9CC6F7526D9A64AE50250194E602F7925D18E8302DC">>},
{<<"otters">>, <<"4D28D810E3311E9BC845FBA20EBBE88CFF4AC26320B56A277603DDE134F24DC1">>},
{<<"pgapp">>, <<"3E104BB777C8455D8B26D1538B67ABE0188EE97B1DF973FD936C2204CB316196">>},
{<<"poolboy">>, <<"6B46163901CFD0A1B43D692657ED9D7E599853B3B21B95AE5AE0A777CF9B6CA8">>},
{<<"qdate_localtime">>, <<"5F6C3ACF10ECC5A7E2EFA3DCD2C863102B962188DBD9E086EC01D29FE029DA29">>},
......
├─ cowboy─1.0.4
│ └─ cowlib─1.0.2
├─ dalmatiner_frontend─0.3.2
├─ dqe─0.6.2
│ ├─ ddb_connection─0.3.3
├─ dqe─v0.7.0+build.309.ref8591d32
│ ├─ ddb_connection─0.4.2
│ │ ├─ ddb_client─0.5.5
│ │ └─ poolboy─1.5.1
│ ├─ dflow─0.2.1
......@@ -10,9 +10,9 @@
│ │ ├─ jsxd─0.2.4
│ │ └─ snappiest─1.2.0
│ ├─ dqe_fun─0.2.0
│ ├─ dqe_idx─0.2.1
│ ├─ dqe_idx_ddb─0.2.4
│ ├─ dqe_idx_pg─0.3.6
│ ├─ dqe_idx─0.3.0
│ ├─ dqe_idx_ddb─0.4.0
│ ├─ dqe_idx_pg─0.4.0
│ │ └─ pgapp─0.0.2
│ │ └─ epgsql─3.3.0
│ ├─ hdr_histogram─0.2.0
......@@ -26,14 +26,14 @@
│ ├─ lager_graylog─0.1.1
│ └─ lager_logstash_backend─0.1.1
│ └─ jsx─2.8.0
├─ fifo_utils─0.1.35
├─ fifo_utils─0.1.37
│ └─ uuid─1.5.4
│ └─ quickrand─1.5.4
├─ jsone─1.2.6
├─ lager─3.2.4
│ └─ goldrush─0.1.9
├─ msgpack─0.3.5
├─ otters─0.2.4
├─ otters─0.2.8
│ ├─ dynamic_compile─1.0.0
│ └─ ibrowse─4.4.0
├─ ranch─1.2.1
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment