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

[receiver/sqlserver] Add computer name resource attribute to relevant metrics #35040

Merged
merged 3 commits into from
Sep 30, 2024

Conversation

crobert-1
Copy link
Member

Description:

The computer name resource attribute is relevant for all metrics coming from the SQL server receiver when directly connected to the DB. This change records the resource attribute with all remaining metrics that it wasn't recorded with yet.

Link to tracking Issue:
This was discovered at the same time as #35036, but I split out the changes to hopefully make them easier to review.

Testing:
Tests have been updated and are passing.

@crobert-1 crobert-1 added the Run Windows Enable running windows test on a PR label Sep 5, 2024
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.

LGTM, please resolve the conflict

@crobert-1
Copy link
Member Author

I've filed #35226 for the failing integration test, it's unrelated to this change.

Adding ready to merge as this PR has necessary approvals.

@crobert-1 crobert-1 added the ready to merge Code review completed; ready to merge by maintainers label Sep 16, 2024
@crobert-1 crobert-1 requested a review from a team as a code owner September 26, 2024 19:36
@djaglowski djaglowski merged commit 1e15770 into open-telemetry:main Sep 30, 2024
172 checks passed
@github-actions github-actions bot added this to the next release milestone Sep 30, 2024
jriguera pushed a commit to springernature/opentelemetry-collector-contrib that referenced this pull request Oct 4, 2024
… metrics (open-telemetry#35040)

**Description:** <Describe what has changed.>
<!--Ex. Fixing a bug - Describe the bug and how this fixes the issue.
Ex. Adding a feature - Explain what this achieves.-->
The computer name resource attribute is relevant for all metrics coming
from the SQL server receiver when directly connected to the DB. This
change records the resource attribute with all remaining metrics that it
wasn't recorded with yet.

**Link to tracking Issue:** <Issue number if applicable>
This was discovered at the same time as
open-telemetry#35036,
but I split out the changes to hopefully make them easier to review.

**Testing:** <Describe what testing was performed and which tests were
added.>
Tests have been updated and are passing.
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.

5 participants