microsoft / microsoft/AzureMonitorCommunity

AMA Migration Helper computer counts incorrect

Open
#222 1 comment 0 reactions 0 assignees View on GitHub

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

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. 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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.