Skip to content

[receiver/sqlserver] Remove duplicated flags for enabling top query c… #40416

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

Merged

Conversation

sincejune
Copy link
Contributor

…ollection and query sample collection

Description

  • Removed top_query_collection.enabled in favor of events."db.server.top_query".enabled in top query collection.
  • Removed query_sample_collection.enabled in favor of events."db.server.query_sample".enabled in query sample collection.

Link to tracking issue

n/a

Testing

Updated

Documentation

Added

@github-actions github-actions bot added receiver/sqlserver Run Windows Enable running windows test on a PR labels Jun 2, 2025
@github-actions github-actions bot requested review from crobert-1 and StefanKurek June 2, 2025 16:04
@sincejune sincejune marked this pull request as ready for review June 4, 2025 03:01
@sincejune sincejune requested a review from a team as a code owner June 4, 2025 03:01
Copy link
Contributor

@atoulme atoulme left a comment

Choose a reason for hiding this comment

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

Because this part of the receiver is marked in development, I am fine if this change is introduced, as long as it's labeled as a breaking change.

Copy link
Member

@crobert-1 crobert-1 left a comment

Choose a reason for hiding this comment

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

LGTM once open issues are addressed

Comment on lines 19 to 20
Removed `top_query_collection.enabled` in favor of `events."db.server.top_query".enabled` in top query collection.
Removed `query_sample_collection.enabled` in favor of `events."db.server.query_sample".enabled` in query sample collection.
Copy link
Member

Choose a reason for hiding this comment

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

Can we re-word this to say rename instead of Removed ... in favor of ...? (Unless there's more of a difference here)

@songy23 songy23 merged commit 8d5e2fe into open-telemetry:main Jun 5, 2025
210 checks passed
@github-actions github-actions bot added this to the next release milestone Jun 5, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
receiver/sqlserver Run Windows Enable running windows test on a PR
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants