Skip to content

[microsoft_sqlserver] upgrade to 2025 version#18262

Open
giorgi-imerlishvili-elastic wants to merge 4 commits intoelastic:mainfrom
giorgi-imerlishvili-elastic:microsoft-sql-server-upgrade
Open

[microsoft_sqlserver] upgrade to 2025 version#18262
giorgi-imerlishvili-elastic wants to merge 4 commits intoelastic:mainfrom
giorgi-imerlishvili-elastic:microsoft-sql-server-upgrade

Conversation

@giorgi-imerlishvili-elastic
Copy link
Copy Markdown
Contributor

@giorgi-imerlishvili-elastic giorgi-imerlishvili-elastic commented Apr 7, 2026

Proposed commit message

Add SQL Server 2022 and 2025 support.
availability_groups: collect per-replica state from sys.dm_hadr_availability_replica_states;
add is_contained (SQL 2022+), basic_availability_group (SQL 2016–2022, removed in SQL Server 2025),
and is_distributed (SQL 2016+) fields via sys.columns-guarded dynamic SQL so all three columns
return NULL instead of an error when absent on the running SQL Server version.
audit: add obo_middle_tier_app_id, obo_middle_tier_app_name, external_policy_permissions_checked fields (SQL 2022+);
add LEDGER_OPERATION_GROUP, EXTERNAL_POLICY_OPERATION_GROUP (SQL 2022), VECTOR_OPERATION_GROUP, and
EXTERNAL_REST_ENDPOINT_GROUP (SQL 2025) audit action group mappings.
performance: add external_rest_endpoint_total_executions counter via SQLServer:External REST Endpoint (SQL 2025+).
transaction_log: add ADR Persistent Version Store (PVS) metrics from
sys.dm_tran_persistent_version_store_stats (SQL 2022+) via version-safe dynamic SQL.

Checklist

  • I have reviewed tips for building integrations and this pull request is aligned with them.
  • I have verified that all data streams collect metrics or logs.
  • I have added an entry to my package's changelog.yml file.
  • I have verified that Kibana version constraints are current according to guidelines.
  • I have verified that any added dashboard complies with Kibana's Dashboard good practices

Author's Checklist

  • [ ]

How to test this PR locally

Related issues

Screenshots

@giorgi-imerlishvili-elastic giorgi-imerlishvili-elastic added the documentation Improvements or additions to documentation. Applied to PRs that modify *.md files. label Apr 7, 2026
@giorgi-imerlishvili-elastic giorgi-imerlishvili-elastic requested a review from a team as a code owner April 7, 2026 21:30
@giorgi-imerlishvili-elastic giorgi-imerlishvili-elastic added enhancement New feature or request Integration:microsoft_sqlserver Microsoft SQL Server labels Apr 7, 2026
@github-actions
Copy link
Copy Markdown
Contributor

github-actions bot commented Apr 7, 2026

Vale Linting Results

Summary: 4 warnings, 7 suggestions found

⚠️ Warnings (4)
File Line Rule Message
packages/microsoft_sqlserver/_dev/build/docs/README.md 52 Elastic.DontUse Don't use 'Please'.
packages/microsoft_sqlserver/docs/README.md 52 Elastic.DontUse Don't use 'Please'.
packages/microsoft_sqlserver/docs/README.md 247 Elastic.Latinisms Latin terms and abbreviations are a common source of confusion. Use 'using' instead of 'via'.
packages/microsoft_sqlserver/docs/README.md 248 Elastic.Latinisms Latin terms and abbreviations are a common source of confusion. Use 'using' instead of 'via'.
💡 Suggestions (7)
File Line Rule Message
packages/microsoft_sqlserver/_dev/build/docs/README.md 158 Elastic.Wordiness Consider using 'because' instead of 'since'.
packages/microsoft_sqlserver/docs/README.md 158 Elastic.Wordiness Consider using 'because' instead of 'since'.
packages/microsoft_sqlserver/docs/README.md 556 Elastic.Wordiness Consider using 'because' instead of 'since'.
packages/microsoft_sqlserver/docs/README.md 685 Elastic.Wordiness Consider using 'because' instead of 'since'.
packages/microsoft_sqlserver/docs/README.md 686 Elastic.Wordiness Consider using 'because' instead of 'since'.
packages/microsoft_sqlserver/docs/README.md 687 Elastic.Wordiness Consider using 'because' instead of 'since'.
packages/microsoft_sqlserver/docs/README.md 689 Elastic.Wordiness Consider using 'because' instead of 'since'.

The Vale linter checks documentation changes against the Elastic Docs style guide.

To use Vale locally or report issues, refer to Elastic style guide for Vale.

@elastic-vault-github-plugin-prod
Copy link
Copy Markdown

🚀 Benchmarks report

To see the full report comment with /test benchmark fullreport

@andrewkroh andrewkroh added the Team:Obs-InfraObs Observability Infrastructure Monitoring team [elastic/obs-infraobs-integrations] label Apr 8, 2026
changes based on manual testing
@elasticmachine
Copy link
Copy Markdown

💚 Build Succeeded

History

cc @giorgi-imerlishvili-elastic

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

documentation Improvements or additions to documentation. Applied to PRs that modify *.md files. enhancement New feature or request Integration:microsoft_sqlserver Microsoft SQL Server Team:Obs-InfraObs Observability Infrastructure Monitoring team [elastic/obs-infraobs-integrations]

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants