AHB Workbook Incorrect SQL DB information #450
Labels
Status: 🔬 Code review
Issue is currently in code review with open PRs
Tool: Workbooks
Azure Monitor workbooks
Type: Bug 🐛
Something isn't working
Milestone
🐛 Problem
Elastic pool databases dont have the License Type property on the database itself, but rather on the Elastic Pool, as such they show up incorrectly in the result
👣 Repro steps
🤔 Expected
Expect the databases to report their AHB correctly. Also it would be great that the results are divided into 3 categories. Enabled, Disabled and Not Applicable.
📷 Screenshots
Both databases show as enabled:
Pool1 is enabled and Pool 2 is disabled
ℹ️ Additional context
This issue happens because:
has
statement in theCase
looks for the value "LicenseIncluded", since both AHB enabled SQL DBs and Elastics DBs show empty values they are marked as AHB enabled.Example of how the query could look like:
🙋♀️ Ask for the community
We could use your help:
The text was updated successfully, but these errors were encountered: