Skip to content
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

Add request id to store gateway logger #5958

Merged
merged 2 commits into from
May 18, 2024

Conversation

yeya24
Copy link
Contributor

@yeya24 yeya24 commented May 17, 2024

What this PR does:

Pull thanos-io/thanos#7367 and configure request logger to include context information.

Tested locally. test-id=abc are request ID used as an example.

ts=2024-05-17T22:37:23.817443Z caller=bucket.go:1140 level=info org_id=fake test-id=abc block=01HXQFWA3CDSRX9ZTHGFS4GTQS msg=posting

Which issue(s) this PR fixes:
Fixes #

Checklist

  • Tests updated
  • Documentation added
  • CHANGELOG.md updated - the order of entries should be [CHANGE], [FEATURE], [ENHANCEMENT], [BUGFIX]

Signed-off-by: Ben Ye <benye@amazon.com>
Signed-off-by: Ben Ye <benye@amazon.com>
@yeya24 yeya24 requested a review from alanprot May 17, 2024 23:09
Copy link
Member

@alanprot alanprot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks

@yeya24 yeya24 merged commit c731037 into cortexproject:master May 18, 2024
16 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants