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

Loki: Log # of unique users involved in query readiness operation #6035

Merged

Conversation

DylanGuedes
Copy link
Contributor

@DylanGuedes DylanGuedes commented Apr 26, 2022

What this PR does / why we need it:
Log unique users assigned to a queryReadiness call. This will help to understand the correlation between more or fewer users and indexgateway load.

Which issue(s) this PR fixes:
N/A

Special notes for your reviewer:
N/A

Checklist

  • Documentation added
  • Tests updated
  • Is this an important fix or new feature? Add an entry in the CHANGELOG.md.
  • Changes that require user attention or interaction to upgrade are documented in docs/sources/upgrading/_index.md

@DylanGuedes DylanGuedes force-pushed the add-unique-users-tablemanager-logs branch from fbe584a to 61a194b Compare June 6, 2022 16:05
@pull-request-size pull-request-size bot added size/XS and removed size/S labels Jun 6, 2022
@DylanGuedes
Copy link
Contributor Author

@sandeepsukhani I decided to rewrite this from scratch since it was too behind in relation to the main branch and because the commit history was full of not-relevant things. wdyt?

@DylanGuedes DylanGuedes marked this pull request as ready for review June 6, 2022 16:08
@DylanGuedes DylanGuedes requested a review from a team as a code owner June 6, 2022 16:08
@DylanGuedes DylanGuedes changed the title Add unique users tablemanager logs Log # of unique users involved in query readiness operation Jun 6, 2022
@DylanGuedes DylanGuedes changed the title Log # of unique users involved in query readiness operation Loki: Log # of unique users involved in query readiness operation Jun 6, 2022
@grafanabot
Copy link
Collaborator

./tools/diff_coverage.sh ../loki-main/test_results.txt test_results.txt ingester,distributor,querier,querier/queryrange,iter,storage,chunkenc,logql,loki

Change in test coverage per package. Green indicates 0 or positive change, red indicates that test coverage for a package fell.

+           ingester	0%
-        distributor	-0.3%
+            querier	0%
+ querier/queryrange	0%
+               iter	0%
+            storage	0%
+           chunkenc	0%
+              logql	0%
+               loki	0%

Copy link
Collaborator

@trevorwhitney trevorwhitney left a comment

Choose a reason for hiding this comment

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

LGTM!

@grafanabot
Copy link
Collaborator

./tools/diff_coverage.sh ../loki-main/test_results.txt test_results.txt ingester,distributor,querier,querier/queryrange,iter,storage,chunkenc,logql,loki

Change in test coverage per package. Green indicates 0 or positive change, red indicates that test coverage for a package fell.

+           ingester	0%
+        distributor	0%
+            querier	0%
+ querier/queryrange	0%
+               iter	0%
+            storage	0%
+           chunkenc	0%
+              logql	0%
+               loki	0%

Copy link
Collaborator

@slim-bean slim-bean left a comment

Choose a reason for hiding this comment

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

LGTM

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.

5 participants