Skip to content

[DBMON-6861] Fix stale azure field name and spec link in SQL Server setup docs - #38494

Open
pierreln-dd wants to merge 6 commits into
masterfrom
pierreln-dd/fix-sqlserver-azure-config-docs
Open

[DBMON-6861] Fix stale azure field name and spec link in SQL Server setup docs#38494
pierreln-dd wants to merge 6 commits into
masterfrom
pierreln-dd/fix-sqlserver-azure-config-docs

Conversation

@pierreln-dd

@pierreln-dd pierreln-dd commented Jul 27, 2026

Copy link
Copy Markdown
Contributor

What does this PR do? What is the motivation?

Fixes DBMON-6861

The Azure SQL Server setup page mixed up the azure block's field name: several code samples and prose sentences referenced a name field that doesn't exist in the integration spec, while the actual field is fully_qualified_domain_name. The field was renamed from name to fully_qualified_domain_name in integrations-core#14534; these docs were never updated to match. This page also linked to a specific line range in the integration spec on GitHub that no longer matches the current file.

This PR:

  • Replaces the stale "name" key with "fully_qualified_domain_name" in the Docker configuration JSON sample
  • Updates all "See the SQL Server integration spec for additional information on setting deployment_type and name fields" sentences to reference fully_qualified_domain_name
  • Updates the integration spec permalink to the current line range for the azure config block

Merge instructions

Merge readiness:

  • Ready for merge

Additional notes

…etup docs

Replace leftover `name` field references with `fully_qualified_domain_name`
in code samples and prose across all Azure SQL Server setup tabs, and
update the integration spec permalink to the current line range.
@github-actions

Copy link
Copy Markdown
Contributor

Preview links (active after the build_preview check completes)

Modified Files

@pierreln-dd
pierreln-dd marked this pull request as ready for review July 28, 2026 15:50
@pierreln-dd
pierreln-dd requested review from a team as code owners July 28, 2026 15:50

@datadog-datadog-prod-us1 datadog-datadog-prod-us1 Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Datadog Autotest: PASS

More details

The renamed Azure field is consistent across all seven YAML examples and the Docker JSON example, and the updated spec permalink resolves to the integration spec's Azure block containing fully_qualified_domain_name. No diff-introduced behavioral regression was found.

Was this helpful? React 👍 or 👎

📊 Validated against 8 scenarios · Open Bits AI session

🤖 Datadog Autotest · Commit 6fae6e8 · What is Autotest? · @DataDog review to ask questions · Any feedback? Reach out in #autotest

@janine-c janine-c left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Looks great! My only feedback is the same thing, four times - the line highlighting appeared to end a little early, so I just suggested extending all of these to line 841. I've approved your PR, though, so feel free to merge whenever you like after that's fixed!
Image

Comment thread content/en/database_monitoring/setup_sql_server/azure.md Outdated
Comment thread content/en/database_monitoring/setup_sql_server/azure.md Outdated
Comment thread content/en/database_monitoring/setup_sql_server/azure.md Outdated
Comment thread content/en/database_monitoring/setup_sql_server/azure.md Outdated
pierreln-dd and others added 5 commits July 28, 2026 13:34
Co-authored-by: Janine Chan <64388808+janine-c@users.noreply.github.com>
Co-authored-by: Janine Chan <64388808+janine-c@users.noreply.github.com>
Co-authored-by: Janine Chan <64388808+janine-c@users.noreply.github.com>
Co-authored-by: Janine Chan <64388808+janine-c@users.noreply.github.com>
[1]: https://app.datadoghq.com/account/settings/agent/latest?platform=windows
[2]: https://github.com/DataDog/integrations-core/blob/master/sqlserver/datadog_checks/sqlserver/data/conf.yaml.example
[3]: https://github.com/DataDog/integrations-core/blob/master/sqlserver/assets/configuration/spec.yaml#L353-L383
[3]: https://github.com/DataDog/integrations-core/blob/master/sqlserver/assets/configuration/spec.yaml#L797-L841

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Hm how do we usually handle linking to lines of code in documentation? This is brittle because the lines will be wrong the second something changes above these line ranges. It's usually better to use permalinks to the exact commit sha, but that also is susceptible to staleness, but it does retain the expected material from right now

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

Yeah I was thinking about that too, I just updated them for now, but may be worth removing entirely

@eric-weaver eric-weaver left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

lgtm from DBM

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants