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

Deletion: use correct counter when deleting lines #6376

Merged

Conversation

MichelHollands
Copy link
Contributor

@MichelHollands MichelHollands commented Jun 13, 2022

What this PR does / why we need it:

An incorrect counter was used when deleting lines. A test to check the counter is added as well.

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

Signed-off-by: Michel Hollands michel.hollands@grafana.com

@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%

@MichelHollands MichelHollands marked this pull request as ready for review June 13, 2022 09:40
@MichelHollands MichelHollands requested a review from a team as a code owner June 13, 2022 09:40
Copy link
Contributor

@sandeepsukhani sandeepsukhani left a comment

Choose a reason for hiding this comment

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

LGTM

Signed-off-by: Michel Hollands <michel.hollands@grafana.com>
@MichelHollands MichelHollands force-pushed the fix_metric_name_for_deleted_lines branch from 11bfa00 to 2567302 Compare June 13, 2022 11:34
@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

@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

@dannykopping dannykopping merged commit 671afe6 into grafana:main Jun 14, 2022
grafanabot pushed a commit that referenced this pull request Jun 23, 2022
Signed-off-by: Michel Hollands <michel.hollands@grafana.com>
(cherry picked from commit 671afe6)
MichelHollands added a commit that referenced this pull request Jun 23, 2022
Signed-off-by: Michel Hollands <michel.hollands@grafana.com>
(cherry picked from commit 671afe6)

Co-authored-by: Michel Hollands <42814411+MichelHollands@users.noreply.github.com>
grafanabot added a commit that referenced this pull request Jun 24, 2022
Signed-off-by: Michel Hollands <michel.hollands@grafana.com>
(cherry picked from commit 671afe6)

Co-authored-by: Michel Hollands <42814411+MichelHollands@users.noreply.github.com>
(cherry picked from commit a7f8be2)
vlad-diachenko pushed a commit that referenced this pull request Jun 24, 2022
Signed-off-by: Michel Hollands <michel.hollands@grafana.com>
(cherry picked from commit 671afe6)

Co-authored-by: Michel Hollands <42814411+MichelHollands@users.noreply.github.com>
(cherry picked from commit a7f8be2)
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.

6 participants