-
Notifications
You must be signed in to change notification settings - Fork 818
let redis cache logs log with context #4785
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
Conversation
This file contains hidden or 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
Signed-off-by: Mengmeng Yang <[email protected]>
Signed-off-by: Mengmeng Yang <[email protected]>
alvinlin123
approved these changes
Jul 17, 2022
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM. Thanks for the contribution!
@alanprot could you please take a review when you get a chance? Thank you |
alanprot
approved these changes
Jul 22, 2022
LGTM! |
alexqyle
pushed a commit
to alexqyle/cortex
that referenced
this pull request
Aug 2, 2022
* let redis cache logs log with context Signed-off-by: Mengmeng Yang <[email protected]> * fix import Signed-off-by: Mengmeng Yang <[email protected]> Signed-off-by: Alex Le <[email protected]>
alanprot
added a commit
that referenced
this pull request
Sep 3, 2022
* Introduced lock file to shuffle sharding grouper Signed-off-by: Alex Le <[email protected]> * let redis cache logs log with context (#4785) * let redis cache logs log with context Signed-off-by: Mengmeng Yang <[email protected]> * fix import Signed-off-by: Mengmeng Yang <[email protected]> Signed-off-by: Alex Le <[email protected]> * DoBatch preference to 4xx if error (#4783) * DoBatch preference to 4xx if error Signed-off-by: Daniel Blando <[email protected]> * Fix comment Signed-off-by: Daniel Blando <[email protected]> Signed-off-by: Alex Le <[email protected]> * Updated CHANGELOG and ordered imports Signed-off-by: Alex Le <[email protected]> * Fixed lint and removed groupCallLimit Signed-off-by: Alex Le <[email protected]> * Changed lock file to json format and make sure planner would not pick up group that is locked by other compactor Signed-off-by: Alex Le <[email protected]> * Fix updateCachedShippedBlocks - new thanos (#4806) Signed-off-by: Alan Protasio <[email protected]> Signed-off-by: Alex Le <[email protected]> * Join memberlist on starting with no retry (#4804) Signed-off-by: Daniel Blando <[email protected]> * Fix alertmanager log message (#4801) Signed-off-by: Xiaochao Dong (@damnever) <[email protected]> Signed-off-by: Alex Le <[email protected]> * Grafana Cloud uses Mimir now, so remove Grafana Cloud as hosted service in documents (#4809) * Grafana Cloud uses Mimir, for of Cortex, now Signed-off-by: Alvin Lin <[email protected]> * Improve doc Signed-off-by: Alvin Lin <[email protected]> Signed-off-by: Alex Le <[email protected]> * Created block_locker to handle all block lock file operations. Added block lock metrics. Signed-off-by: Alex Le <[email protected]> * Moved lock file heart beat into planner and refined planner logic to make sure blocks are locked by current compactor Signed-off-by: Alex Le <[email protected]> * Updated documents Signed-off-by: Alex Le <[email protected]> * Return concurrency number of group. Use ticker for lock file heart beat Signed-off-by: Alex Le <[email protected]> * Renamed lock file to be visit marker file Signed-off-by: Alex Le <[email protected]> * Fixed unit test Signed-off-by: Alex Le <[email protected]> * Make sure visited block can be picked by compactor visited it Signed-off-by: Alex Le <[email protected]> Signed-off-by: Alex Le <[email protected]> Signed-off-by: Mengmeng Yang <[email protected]> Signed-off-by: Daniel Blando <[email protected]> Signed-off-by: Alan Protasio <[email protected]> Signed-off-by: Xiaochao Dong (@damnever) <[email protected]> Signed-off-by: Alvin Lin <[email protected]> Signed-off-by: Alex Le <[email protected]> Co-authored-by: Mengmeng Yang <[email protected]> Co-authored-by: Daniel Blando <[email protected]> Co-authored-by: Alan Protasio <[email protected]> Co-authored-by: Xiaochao Dong <[email protected]> Co-authored-by: Alvin Lin <[email protected]>
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Signed-off-by: Mengmeng Yang [email protected]
What this PR does:
Improve redis cache logging, let it log with context for redis cache files, so that it's easier to figure out the errors are thrown from which request.
Which issue(s) this PR fixes:
No
Checklist
CHANGELOG.md
updated - the order of entries should be[CHANGE]
,[FEATURE]
,[ENHANCEMENT]
,[BUGFIX]