-
Notifications
You must be signed in to change notification settings - Fork 3.5k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add statistics to query_range and instant_query API. (#1615)
* Refactor stats package to use proto. Signed-off-by: Cyril Tovena <[email protected]> * Merge statistics in the frontend. Signed-off-by: Cyril Tovena <[email protected]> * Improve engine logging. Signed-off-by: Cyril Tovena <[email protected]> * Fixes GRPC by rolling back Signed-off-by: Cyril Tovena <[email protected]> * Add a test to verify stats in the LogQL engine. Signed-off-by: Cyril Tovena <[email protected]> * Set circle ci build image to 0.9.1 which contains protobuf regression Signed-off-by: Cyril Tovena <[email protected]> * Fix drone CI. Signed-off-by: Cyril Tovena <[email protected]> * Change timing data from nanoseconds to seconds like Prometheus. Signed-off-by: Cyril Tovena <[email protected]> * Improve naming of stats Signed-off-by: Cyril Tovena <[email protected]> * Move stats property under data property like Prometheus. Signed-off-by: Cyril Tovena <[email protected]> * Adjust queryrange frontend to use the new stats property Signed-off-by: Cyril Tovena <[email protected]> * Cleanup unused structs. Signed-off-by: Cyril Tovena <[email protected]> * Add documentation for stats API. Signed-off-by: Cyril Tovena <[email protected]> * Format proto file. Signed-off-by: Cyril Tovena <[email protected]> * Adds missing godoc on logql.Result Signed-off-by: Cyril Tovena <[email protected]>
- Loading branch information
1 parent
1773900
commit 93eb4ad
Showing
32 changed files
with
3,595 additions
and
917 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
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -41,8 +41,8 @@ COPY --from=drone /go/bin/drone /usr/bin/drone | |
# It's possible this can be revisited in newer versions of Go if the behavior around GOPATH vs GO111MODULES changes | ||
RUN GO111MODULE=on go get \ | ||
github.com/golang/protobuf/[email protected] \ | ||
github.com/gogo/protobuf/protoc-gen-gogoslick@v1.3.0 \ | ||
github.com/gogo/protobuf/gogoproto@v1.3.0 \ | ||
github.com/gogo/protobuf/protoc-gen-gogoslick@v1.2.1 \ | ||
github.com/gogo/protobuf/gogoproto@v1.2.1 \ | ||
github.com/go-delve/delve/cmd/dlv \ | ||
# Due to the lack of a proper release tag, we use the commit hash of | ||
# https://github.com/golang/tools/releases v0.1.7 | ||
|
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.