-
Notifications
You must be signed in to change notification settings - Fork 2.1k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Query: add query metrics to calls going through the Store API (#5741)
* Implement granular query performance metrics for Thanos Query These are grabbed from the data returned by multiple Store APIs after execution of a query. Signed-off-by: Douglas Camata <[email protected]> * Fix some linter warnings Signed-off-by: Douglas Camata <[email protected]> * Remove useless logs Signed-off-by: Douglas Camata <[email protected]> * Refactor query tests Signed-off-by: Douglas Camata <[email protected]> * Fix long function definition (newQuerier) Signed-off-by: Douglas Camata <[email protected]> * Remove TODO comment Signed-off-by: Douglas Camata <[email protected]> * Fix query tests Signed-off-by: Douglas Camata <[email protected]> * Reformat query docs Signed-off-by: Douglas Camata <[email protected]> * Remove useless return Signed-off-by: Douglas Camata <[email protected]> * Put back old query docs Signed-off-by: Douglas Camata <[email protected]> * Update query docs again Signed-off-by: Douglas Camata <[email protected]> * Fix e2e env name Signed-off-by: Douglas Camata <[email protected]> * Retrigger CI Signed-off-by: Douglas Camata <[email protected]> * Add missing copyright notice. Signed-off-by: Douglas Camata <[email protected]> * Retrigger CI Signed-off-by: Douglas Camata <[email protected]> * Retrigger CI Signed-off-by: Douglas Camata <[email protected]> * Bump wait time to twice scrape interval Signed-off-by: Douglas Camata <[email protected]> * Retrigger CI Signed-off-by: Douglas Camata <[email protected]> * Attempt to fix randomly failing test Signed-off-by: Douglas Camata <[email protected]> * Checking more metrics to ensure the store is ready Signed-off-by: Douglas Camata <[email protected]> * Clean up test Signed-off-by: Douglas Camata <[email protected]> * Do not record store api metrics when didn't touch series or samples Signed-off-by: Douglas Camata <[email protected]> * Retrigger CI Signed-off-by: Douglas Camata <[email protected]> * Also skip store api metrics on zero chunks touched Signed-off-by: Douglas Camata <[email protected]> * Update changelog Signed-off-by: Douglas Camata <[email protected]> * Fix broken changelog after merge Signed-off-by: Douglas Camata <[email protected]> * Remove extra empty line Signed-off-by: Douglas Camata <[email protected]> * Refactor names and (un)exported types and fields Signed-off-by: Douglas Camata <[email protected]> * Start listing metrics exported by Thanos Query Signed-off-by: Douglas Camata <[email protected]> * Rename pkg/store/metrics -> pkg/store/telemetry Signed-off-by: Douglas Camata <[email protected]> * Get rid of the pkg/store/telemetry package Signed-off-by: Douglas Camata <[email protected]> Signed-off-by: Douglas Camata <[email protected]> Signed-off-by: Matej Gera <[email protected]> Co-authored-by: Matej Gera <[email protected]> Signed-off-by: utukj <[email protected]>
- Loading branch information
Showing
12 changed files
with
478 additions
and
51 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
Oops, something went wrong.