nakabonne/tstorage

Wildcard in Select method

PeterBorisenko opened this issue · 0 comments

It seems very convenient to be able selecting more than one metric using the following syntax:
(Assume having "metric-1" and "metric-2" data tags)

storage.Select("metric?", nil, timestart, timeend)

to select all tags with any symbol on ? place
or

storage.Select("*", nil, timestart, timeend)

to select all data.

Similarly it could be regex.