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

fix: increment error caching counter when trace not sampled #10631

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

56quarters
Copy link
Contributor

@56quarters 56quarters commented Feb 12, 2025

What this PR does

Fixes an issue introduced in where a counter was only incremented when a particular trace was sampled instead of always.

Which issue(s) this PR fixes or relates to

Related #10537

Checklist

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

Fixes an issue introduced in #10537 where a counter was only incremented
when a particular trace was sampled instead of always.

Signed-off-by: Nick Pillitteri <[email protected]>
Signed-off-by: Nick Pillitteri <[email protected]>
@56quarters 56quarters marked this pull request as ready for review February 12, 2025 16:13
@56quarters 56quarters requested a review from a team as a code owner February 12, 2025 16:13
@56quarters 56quarters enabled auto-merge (squash) February 12, 2025 16:53
@56quarters 56quarters closed this Feb 12, 2025
auto-merge was automatically disabled February 12, 2025 16:56

Pull request was closed

@56quarters 56quarters reopened this Feb 12, 2025
@@ -51,7 +51,7 @@
* [BUGFIX] Distributor: Use a boolean to track changes while merging the ReplicaDesc components, rather than comparing the objects directly. #10185
* [BUGFIX] Querier: fix timeout responding to query-frontend when response size is very close to `-querier.frontend-client.grpc-max-send-msg-size`. #10154
* [BUGFIX] Query-frontend and querier: show warning/info annotations in some cases where they were missing (if a lazy querier was used). #10277
* [BUGFIX] Query-frontend: Fix an issue where transient errors could be inadvertently cached. #10537
* [BUGFIX] Query-frontend: Fix an issue where transient errors could be inadvertently cached. #10537 #10631
Copy link
Contributor

Choose a reason for hiding this comment

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

Suggested change
* [BUGFIX] Query-frontend: Fix an issue where transient errors could be inadvertently cached. #10537 #10631
* [BUGFIX] Query-frontend: Fix an issue where transient errors are inadvertently cached. #10537 #10631

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