feat(promql): add lookback parameter (#145)

* feat(promql): add lookback parameter

* feat(promql): add lookback parameter to InstantQuery
This commit is contained in:
Eugene Tolbakov
2024-04-14 13:23:18 +01:00
committed by GitHub
parent 8da84a04b1
commit 04d78b6e02
5 changed files with 605 additions and 46 deletions
+2
View File
@@ -43,6 +43,7 @@ message PromqlResponse {
message PromInstantQuery {
string query = 1;
string time = 2;
string lookback = 3;
}
message PromRangeQuery {
@@ -50,4 +51,5 @@ message PromRangeQuery {
string start = 2;
string end = 3;
string step = 4;
string lookback = 5;
}