Skip to content

[receiver/sqlserver] Update event properties #39868

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
merged 4 commits into from
May 7, 2025

Conversation

sincejune
Copy link
Contributor

Description

  • Update event name of top query event to db.server.top_query
  • Update event name of query sample event to db.server.query_sample
  • Remove body of query sample event
  • Rename sqlserver.username to user.name in query sample event

Link to tracking issue

n/a

Testing

Updated

Documentation

Added

@sincejune sincejune requested review from crobert-1 and a team as code owners May 6, 2025 04:10
@github-actions github-actions bot added receiver/sqlserver Run Windows Enable running windows test on a PR labels May 6, 2025
@github-actions github-actions bot requested a review from StefanKurek May 6, 2025 04:10
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.

We'll also need to resolve CI failures before this can be merged.

Comment on lines 19 to 20
* Update event name of top query event to `db.server.top_query`
* Update event name of query sample event to `db.server.query_sample`
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 make it more obvious what's changing here? Including the original name would be helpful.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Updated

@sincejune
Copy link
Contributor Author

We'll also need to resolve CI failures before this can be merged.

Sorry, didn't notice that CI was failing. Fixed them all now.

@crobert-1 crobert-1 added the ready to merge Code review completed; ready to merge by maintainers label May 7, 2025
@atoulme atoulme merged commit 5371b7a into open-telemetry:main May 7, 2025
246 checks passed
@github-actions github-actions bot added this to the next release milestone May 7, 2025
dragonlord93 pushed a commit to dragonlord93/opentelemetry-collector-contrib that referenced this pull request May 23, 2025
<!--Ex. Fixing a bug - Describe the bug and how this fixes the issue.
Ex. Adding a feature - Explain what this achieves.-->
#### Description
  * Update event name of top query event to `db.server.top_query`
  * Update event name of query sample event to `db.server.query_sample`
  * Remove body of query sample event
  * Rename `sqlserver.username` to `user.name` in query sample event
<!-- Issue number (e.g. open-telemetry#1234) or full URL to issue, if applicable. -->
#### Link to tracking issue
n/a

<!--Describe what testing was performed and which tests were added.-->
#### Testing
Updated

<!--Describe the documentation added.-->
#### Documentation
Added

<!--Please delete paragraphs that you did not use before submitting.-->
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
ready to merge Code review completed; ready to merge by maintainers receiver/sqlserver Run Windows Enable running windows test on a PR
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants