forked from thanos-io/thanos
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Support custom lookback delta from request for query api (thanos-io#5607
) * Update prometheus version to v0.38.0 Signed-off-by: Oron Sharabi <oron.sh@coralogix.com> * Add custom lookbackDelta from request support for query api Signed-off-by: Oron Sharabi <oron.sh@coralogix.com> * Add change to CHANGELOG Signed-off-by: Oron Sharabi <oron.sh@coralogix.com> * Fix tests Signed-off-by: Oron Sharabi <oron.sh@coralogix.com> * Fix lints Signed-off-by: Oron Sharabi <oron.sh@coralogix.com> * Replace engineFactory with lookbackDeltaFactory Add custom lookback delta support in query grpc api Signed-off-by: Oron Sharabi <oron.sh@coralogix.com> * Replace TestEngineFactory with TestLookbackDeltaFactory test Signed-off-by: Oron Sharabi <oron.sh@coralogix.com> * Run formatter Signed-off-by: Oron Sharabi <oron.sh@coralogix.com> * Fix manager_test.go Signed-off-by: Oron Sharabi <oron.sh@coralogix.com> * Remove engineFactory and adjust comment Signed-off-by: Oron Sharabi <oron.sh@coralogix.com> * Go fmt query.go Signed-off-by: Oron Sharabi <oron.sh@coralogix.com> * Fix test and lints Signed-off-by: Oron Sharabi <oron.sh@coralogix.com> * Remove self-assignment of engineOpts.ActiveQueryTracker Signed-off-by: Oron Sharabi <oron.sh@coralogix.com> * Fix query.proto backwards compatibility Signed-off-by: Oron Sharabi <oron.sh@coralogix.com> * Fix comment indentation Signed-off-by: Oron Sharabi <oron.sh@coralogix.com> * Multiply maxResolution by 1000 in grpc api Signed-off-by: Oron Sharabi <oron.sh@coralogix.com> Signed-off-by: Oron Sharabi <oron.sh@coralogix.com> Signed-off-by: Prakul Jain <prakul.jain@udaan.com>
- Loading branch information
Showing
16 changed files
with
385 additions
and
294 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.