Skip to content

Conversation

@erlan-z
Copy link
Contributor

@erlan-z erlan-z commented Nov 13, 2025

What this PR does:
Add the request ID to the context in RecordAndReportRuleQueryMetrics before the defer statement captures it. This ensures the logging function has access to the request ID.

Which issue(s) this PR fixes:
Fixes #

Checklist

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

…s so we have it in query stats logs

Signed-off-by: Erlan Zholdubai uulu <[email protected]>
@dosubot dosubot bot added the component/rules Bits & bobs todo with rules and alerts: the ruler, config service etc. label Nov 13, 2025
Copy link
Contributor

@rajagopalanand rajagopalanand left a comment

Choose a reason for hiding this comment

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

LGTM

@friedrichg friedrichg enabled auto-merge (squash) November 13, 2025 23:55
@dosubot dosubot bot added the lgtm This PR has been approved by a maintainer label Nov 14, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

component/rules Bits & bobs todo with rules and alerts: the ruler, config service etc. lgtm This PR has been approved by a maintainer size/XS

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants