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

ingester: Refactor ingester metrics from globals into the ingesterMetrics struct #6275

Merged

Conversation

simonswine
Copy link
Contributor

@simonswine simonswine commented May 31, 2022

This moves global metrics into the dedicated ingester metrics struct

@simonswine simonswine marked this pull request as ready for review May 31, 2022 18:28
@simonswine simonswine requested a review from a team as a code owner May 31, 2022 18:28
Copy link
Contributor

@chaudum chaudum left a comment

Choose a reason for hiding this comment

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

lgtm

@simonswine simonswine changed the title Move ingester metrics around ingester: Refactor ingester metrics from globals into the ingesterMetrics struct Jun 1, 2022
Copy link
Contributor

@kavirajk kavirajk left a comment

Choose a reason for hiding this comment

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

LGTM

@simonswine simonswine force-pushed the 20220508_refactor-metrics-ingester branch from 14c23e1 to b8a875b Compare June 1, 2022 09:27
@simonswine simonswine force-pushed the 20220508_refactor-metrics-ingester branch from b8a875b to 401daaa Compare June 1, 2022 09:44
@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.1%
-        distributor	-0.3%
+            querier	0%
+ querier/queryrange	0%
+               iter	0%
+            storage	0%
+           chunkenc	0%
+              logql	0%
+               loki	0%

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.

4 participants