-
Notifications
You must be signed in to change notification settings - Fork 2.7k
[SQL Server] expose server.port #35183
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
Comments
Pinging code owners:
See Adding Labels via Comments if you do not have permissions to add labels yourself. |
The metadata.yaml would be enhanced with
|
hi, is this task still available? I’d like to give it a try, assign please |
@LZiHaN all yours! |
Hi @atoulme , it looks like multiple SQL Server instances on the same host can get mixed up.
have the same issue? Should they be updated too? |
I don’t know. I don’t think that’s missing for most. |
<!--Ex. Fixing a bug - Describe the bug and how this fixes the issue. Ex. Adding a feature - Explain what this achieves.--> #### Description The new attribute are added to the SQL server receiver to distinguish metrics coming from different SQL server instances. - **server.address**: The address of the SQL server host, enabled by default. - **server.port**: The port of the SQL server host, disabled by default. <!-- Issue number (e.g. #1234) or full URL to issue, if applicable. --> #### Link to tracking issue refer to #35183 <!--Describe what testing was performed and which tests were added.--> #### Testing passes tests. <!--Describe the documentation added.--> #### Documentation no need to update. <!--Please delete paragraphs that you did not use before submitting.--> --------- Co-authored-by: Ziqi Zhao <[email protected]> Co-authored-by: Tyler Helmuth <[email protected]>
The PR has been merged, and the issue has been resolved. It can be closed now. |
Closed by #37004 |
<!--Ex. Fixing a bug - Describe the bug and how this fixes the issue. Ex. Adding a feature - Explain what this achieves.--> #### Description The `server.address` and `server.port` resource attributes in the SQL Server receiver had warnings that they will be enabled by default in a future release. These resource attributes are being set by simply passing through config option values. The config options, `server` and `port`, are optional. Also, the SQL Server receiver supports scraping Windows Performance counters for metrics, which render these resource attributes meaningless. For these reasons, the resource attributes should continue to be disabled by default. There may be some way to get these resource attributes from windows perf counters, but that is a separate work item that would be required before enabling. If that work gets done at some point we can revisit enabling these by default. Related: #35183 --------- Co-authored-by: Antoine Toulme <[email protected]>
…metry#38831) <!--Ex. Fixing a bug - Describe the bug and how this fixes the issue. Ex. Adding a feature - Explain what this achieves.--> #### Description The `server.address` and `server.port` resource attributes in the SQL Server receiver had warnings that they will be enabled by default in a future release. These resource attributes are being set by simply passing through config option values. The config options, `server` and `port`, are optional. Also, the SQL Server receiver supports scraping Windows Performance counters for metrics, which render these resource attributes meaningless. For these reasons, the resource attributes should continue to be disabled by default. There may be some way to get these resource attributes from windows perf counters, but that is a separate work item that would be required before enabling. If that work gets done at some point we can revisit enabling these by default. Related: open-telemetry#35183 --------- Co-authored-by: Antoine Toulme <[email protected]>
Component(s)
receiver/sqlserver
Is your feature request related to a problem? Please describe.
Similar to #32810 we find that multiple SQL server instances running on the same host will be commingled.
Describe the solution you'd like
the SQL server receiver should expose a server.port attribute similar to what the mongodbreceiver is doing.
Describe alternatives you've considered
No response
Additional context
No response
The text was updated successfully, but these errors were encountered: