microsoft / microsoft/AzureMonitorCommunity
AMA Migration Helper computer counts incorrect
Nobody has claimed this yet.
- Dominant language
- PowerShell
- Stars
- 1.2k
- Forks
- 493
- PR merge metrics
- No merged PRs in 30d
Description
The agentmigrationtracker query uses tolower(ComputerName) in several joins to other queries. ComputerName is not required to be unique across subscriptions (or within subs I believe) and so the joins result in inflated counts for VM resources. I believe that ID should be used but still trying to confirm that.
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start with the agentmigrationtracker query and inspect each join that applies tolower(ComputerName). Verify whether ComputerName can repeat across subscriptions or within a subscription, and confirm the correct resource identifier to use. Done means VM resource counts are no longer inflated by those joins.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- azure
- Domain
- observability
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 38/100