Skip to content

Conversation

sincejune
Copy link
Contributor

…and Azure SQL Managed Instance

Description

Regarding IO queries, sys.master_files is not available on Azure managed SQL Server, hence using sys.database_files instead to get info from the connected database.

Link to tracking issue

n/a

Testing

Updated

Documentation

Added

@sincejune sincejune requested review from crobert-1 and a team as code owners July 4, 2025 15:11
@github-actions github-actions bot added receiver/sqlserver Run Windows Enable running windows test on a PR labels Jul 4, 2025
@github-actions github-actions bot requested a review from StefanKurek July 4, 2025 15:11
@dmitryax dmitryax merged commit ed15053 into open-telemetry:main Jul 15, 2025
210 checks passed
@github-actions github-actions bot added this to the next release milestone Jul 15, 2025
Comment on lines +19 to +51
Affected metrics:
- sqlserver.database.latency
- sqlserver.database.operations
- sqlserver.database.io
- sqlserver.batch.request.rate
- sqlserver.batch.sql_compilation.rate
- sqlserver.batch.sql_recompilation.rate
- sqlserver.database.backup_or_restore.rate
- sqlserver.database.execution.errors
- sqlserver.database.full_scan.rate
- sqlserver.database.tempdb.space
- sqlserver.database.tempdb.version_store.size
- sqlserver.deadlock.rate
- sqlserver.index.search.rate
- sqlserver.lock.timeout.rate
- sqlserver.lock.wait.count
- sqlserver.lock.wait.rate
- sqlserver.login.rate
- sqlserver.logout.rate
- sqlserver.memory.grants.pending.count
- sqlserver.memory.usage
- sqlserver.page.buffer_cache.free_list.stalls.rate
- sqlserver.page.buffer_cache.hit_ratio
- sqlserver.page.lookup.rate
- sqlserver.processes.blocked
- sqlserver.replica.data.rate
- sqlserver.resource_pool.disk.throttled.read.rate
- sqlserver.resource_pool.disk.operations
- sqlserver.resource_pool.disk.throttled.write.rate
- sqlserver.table.count
- sqlserver.transaction.delay
- sqlserver.transaction.mirror_write.rate
- sqlserver.user.connection.count
Copy link
Member

Choose a reason for hiding this comment

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

This huge list in the CHANGELOG isn't helpful unless it clearly says how the metrics are affected. Please submit a separate PR to either remove this or clarify

atoulme pushed a commit that referenced this pull request Jul 16, 2025
<!--Ex. Fixing a bug - Describe the bug and how this fixes the issue.
Ex. Adding a feature - Explain what this achieves.-->
#### Description
Feedback of
#41102 (comment)
cc @dmitryax

Removing the long list as they are just supported on Azure SQL Databases
and Managed Instances. No breaking change.
<!-- Issue number (e.g. #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
n/a

<!--Describe the documentation added.-->
#### Documentation
n/a

<!--Please delete paragraphs that you did not use before submitting.-->
dmitryax added a commit to signalfx/splunk-otel-collector that referenced this pull request Jul 24, 2025
dmitryax added a commit to signalfx/splunk-otel-collector that referenced this pull request Jul 24, 2025
jinja2 pushed a commit to signalfx/splunk-otel-collector that referenced this pull request Jul 24, 2025
Dylan-M pushed a commit to Dylan-M/opentelemetry-collector-contrib that referenced this pull request Aug 5, 2025
open-telemetry#41102)

…and Azure SQL Managed Instance

<!--Ex. Fixing a bug - Describe the bug and how this fixes the issue.
Ex. Adding a feature - Explain what this achieves.-->
#### Description
Regarding IO queries, `sys.master_files` is not available on Azure
managed SQL Server, hence using `sys.database_files` instead to get info
from the connected database.

<!-- 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.-->
Dylan-M pushed a commit to Dylan-M/opentelemetry-collector-contrib that referenced this pull request Aug 5, 2025
…telemetry#41339)

<!--Ex. Fixing a bug - Describe the bug and how this fixes the issue.
Ex. Adding a feature - Explain what this achieves.-->
#### Description
Feedback of
open-telemetry#41102 (comment)
cc @dmitryax

Removing the long list as they are just supported on Azure SQL Databases
and Managed Instances. No breaking change.
<!-- 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
n/a

<!--Describe the documentation added.-->
#### Documentation
n/a

<!--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
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants