You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Adds a dedicated SQL Server view collector that runs alongside table schema collection and emits a separate sqlserver_views DBM metadata payload. Each schema contains an empty tables array and a populated views array. Views include ID, name, creation and modification dates, nullable definition, and table-compatible column metadata.
Adds an independent max_views configuration option with a default of 1000. The existing sqlserver_databases payload and max_tables limit remain unchanged.
DBM schema collection currently discovers only SQL Server tables. UGP needs view definitions and projected column metadata to represent SQL Server views without treating them as physical tables.
Review checklist (to be filled by reviewers)
Feature or bugfix MUST have appropriate tests (unit, integration, e2e)
Add qa/required if this PR needs QA validation, or qa/skip-qa if it does not. Exactly one of the two is required.
If you need to backport this PR to another branch, you can add the backport/<branch-name> label to the PR and it will automatically open a backport PR once this one is merged
Changelog entry has the wrong PR number. Correct by moving the file from 'datadog_checks_base/changelog.d/24947.fixed' to 'datadog_checks_base/changelog.d/24928.fixed'.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What does this PR do?
Adds a dedicated SQL Server view collector that runs alongside table schema collection and emits a separate
sqlserver_viewsDBM metadata payload. Each schema contains an emptytablesarray and a populatedviewsarray. Views include ID, name, creation and modification dates, nullable definition, and table-compatible column metadata.Adds an independent
max_viewsconfiguration option with a default of 1000. The existingsqlserver_databasespayload andmax_tableslimit remain unchanged.Shared telemetry dependency: #24947
Companion backend change: https://github.com/ddoghq/dd-go/pull/11536
Motivation
DBM schema collection currently discovers only SQL Server tables. UGP needs view definitions and projected column metadata to represent SQL Server views without treating them as physical tables.
Review checklist (to be filled by reviewers)
qa/requiredif this PR needs QA validation, orqa/skip-qaif it does not. Exactly one of the two is required.backport/<branch-name>label to the PR and it will automatically open a backport PR once this one is merged