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

Tag all activity-tracker logs #3556

Merged
merged 4 commits into from
Nov 29, 2022
Merged

Tag all activity-tracker logs #3556

merged 4 commits into from
Nov 29, 2022

Conversation

colega
Copy link
Contributor

@colega colega commented Nov 29, 2022

What this PR does

It can be quite hard to find all the activity-tracker logs, I usually grep by activity but some customers have that in many queries that are being logged too. Grepping by activity= could do the trick sometimes, but also not always.

This adds a module=activity-tracker label to all the logs issues for the activity tracker, making it much easier to find them.

Which issue(s) this PR fixes or relates to

None

Checklist

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

It can be quite hard to find all the activity-tracker logs, I usually
grep by `activity` but some customers have that in many queries that are
being logged too. Grepping by `activity=` could do the trick sometimes,
but also not always.

This adds a `module=activity-tracker` label to all the logs issues for
the activity tracker, making it much easier to find them.

Signed-off-by: Oleg Zaytsev <mail@olegzaytsev.com>
@colega colega requested a review from a team as a code owner November 29, 2022 10:40
Signed-off-by: Oleg Zaytsev <mail@olegzaytsev.com>
pkg/mimir/modules.go Outdated Show resolved Hide resolved
Co-authored-by: Marco Pracucci <marco@pracucci.com>
CHANGELOG.md Outdated Show resolved Hide resolved
@colega colega enabled auto-merge (squash) November 29, 2022 11:00
@colega colega merged commit bdf7e6d into main Nov 29, 2022
@colega colega deleted the tag-all-activity-tracker-logs branch November 29, 2022 11:12
masonmei pushed a commit to udmire/mimir that referenced this pull request Dec 16, 2022
* Tag all activity-tracker logs

It can be quite hard to find all the activity-tracker logs, I usually
grep by `activity` but some customers have that in many queries that are
being logged too. Grepping by `activity=` could do the trick sometimes,
but also not always.

This adds a `module=activity-tracker` label to all the logs issues for
the activity tracker, making it much easier to find them.

Signed-off-by: Oleg Zaytsev <mail@olegzaytsev.com>

* Update CHANGELOG.md

Signed-off-by: Oleg Zaytsev <mail@olegzaytsev.com>

* Update pkg/mimir/modules.go

Co-authored-by: Marco Pracucci <marco@pracucci.com>

* Update CHANGELOG.md

Signed-off-by: Oleg Zaytsev <mail@olegzaytsev.com>
Co-authored-by: Marco Pracucci <marco@pracucci.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants