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

MQE: include more information in query stats log lines #9505

Merged
merged 2 commits into from
Oct 3, 2024

Conversation

charleskorn
Copy link
Contributor

@charleskorn charleskorn commented Oct 3, 2024

What this PR does

This PR adds more information to the "query stats" log lines emitted by MQE.

Specifically, it adds the expression, query type, time range and step.

This makes it easier to identify which query stats log line belongs to which query when the request trace is not sampled, as otherwise there is no identifying information beyond the time.

Which issue(s) this PR fixes or relates to

(none)

Checklist

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

@charleskorn charleskorn force-pushed the charleskorn/mqe-query-stats-log-lines branch from 8305f4a to fcb3def Compare October 3, 2024 01:29
@charleskorn charleskorn marked this pull request as ready for review October 3, 2024 01:29
@charleskorn charleskorn requested a review from a team as a code owner October 3, 2024 01:29
@charleskorn charleskorn marked this pull request as draft October 3, 2024 01:30
@charleskorn charleskorn force-pushed the charleskorn/mqe-query-stats-log-lines branch from fcb3def to e4e31ae Compare October 3, 2024 01:34
@charleskorn charleskorn marked this pull request as ready for review October 3, 2024 01:34
@charleskorn charleskorn enabled auto-merge (squash) October 3, 2024 01:51
@charleskorn charleskorn merged commit 5855711 into main Oct 3, 2024
29 checks passed
@charleskorn charleskorn deleted the charleskorn/mqe-query-stats-log-lines branch October 3, 2024 01:52
@jhesketh jhesketh mentioned this pull request Dec 2, 2024
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.

2 participants