feat: add promql query support (#13)
* feat: add promql query support * feat: add go sources * refactor: rename promql to prom_range_query * fix: lint issue
This commit is contained in:
@@ -47,9 +47,17 @@ message QueryRequest {
|
||||
oneof query {
|
||||
string sql = 1;
|
||||
bytes logical_plan = 2;
|
||||
PromRangeQuery prom_range_query = 3;
|
||||
}
|
||||
}
|
||||
|
||||
message PromRangeQuery {
|
||||
string query = 1;
|
||||
string start = 2;
|
||||
string end = 3;
|
||||
string step = 4;
|
||||
}
|
||||
|
||||
message InsertRequest {
|
||||
string table_name = 1;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user