Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Query language #23

Open
jptmoore opened this issue Apr 9, 2018 · 3 comments
Open

Query language #23

jptmoore opened this issue Apr 9, 2018 · 3 comments
Assignees

Comments

@jptmoore
Copy link
Collaborator

jptmoore commented Apr 9, 2018

The current API is path based and only operates on a single stream of time series data. This API does not scale well or support joining together and carrying out operations on data from multiple time series streams. I useful addition would be a simple query language to give this type of flexibility.

@jptmoore jptmoore self-assigned this Apr 9, 2018
@jptmoore
Copy link
Collaborator Author

Before attempting this I will extend the path API to handle multiple id's.

e.g. /ts/<id1, id2>/length

which would provide the length of the combined time series id1 and and id2

@jptmoore
Copy link
Collaborator Author

jptmoore commented Aug 1, 2018

A first go at what some queries might look like that could map to tokens for verification:

post 42.0 to "sensor1" where "serial" is "A001" on host "foo"

get max from "sensor1","sensor2" where "serial" contains "A00" since "1h" on host "foo"

observe from "sensor1" where "serial" contains "A00" with last 100 on host "foo" for "60s"

delete from "sensor1","sensor2" from "1h" to "now" on host "foo"

@Toshbrown
Copy link

@jptmoore might be worth moving this to the databox repo, not everyone follows this one.

I have many questions, lets discuss it on the next call.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants