Commit 4952dbf
[sqlserver] Fix database_autodiscovery_interval config option being ignored (DataDog#22912)
The check was reading `autodiscovery_interval` from the instance config,
but the documented (and customer-used) key is `database_autodiscovery_interval`.
This mismatch has existed since the feature was introduced in 2020 (PR DataDog#8115),
meaning customers setting this option were silently getting the default 3600s.
Data shows 124 orgs / 3,320 hosts actively set `database_autodiscovery_interval`
in their configs. Fix the code to read the correct key.
Co-authored-by: Claude Opus 4.6 (1M context) <noreply@anthropic.com>1 parent 347ad32 commit 4952dbf
2 files changed
Lines changed: 4 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
32 | 32 | | |
33 | 33 | | |
34 | 34 | | |
35 | | - | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
36 | 38 | | |
37 | 39 | | |
38 | 40 | | |
| |||
0 commit comments