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 more context to logs, improve comments for clarity in boltdb-shipper code #5341

Conversation

sandeepsukhani
Copy link
Contributor

What this PR does / why we need it:

  • Add user-id to logs when working on user-specific index and logging on it.
  • Add comments at various places for clarity including describing the various index formats that come into play.
  • Add user_id label on loki_boltdb_shipper_retention_marker_table_processed_total so that we can track actions done on user-specific index in the tables.

@sandeepsukhani sandeepsukhani requested a review from a team as a code owner February 8, 2022 09:53
@sandeepsukhani sandeepsukhani force-pushed the boltdb-shipper-logging-comments-improvements branch from 57e1ff8 to 709c59b Compare February 8, 2022 10:04
Copy link
Contributor

@cyriltovena cyriltovena left a comment

Choose a reason for hiding this comment

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

LGTM

@sandeepsukhani sandeepsukhani force-pushed the boltdb-shipper-logging-comments-improvements branch from 709c59b to c2d22a6 Compare February 15, 2022 11:07
@sandeepsukhani sandeepsukhani merged commit e65d1b8 into grafana:main Feb 15, 2022
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.

3 participants