AMA Migration Helper computer counts incorrect

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

Nobody has claimed this yet.

Assessment

Difficulty
3/5
Estimated time
1-2 days
Newbie friendliness
38/100
Issue type
Bug
Clarity
Mostly clear
Activity status
Stale
Tech stack
azure
Domain
observability

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.

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.

Dominant language
PowerShell
Stars
1.2k
Forks
493
PR merge metrics
No merged PRs in 30d

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.

More from microsoft/AzureMonitorCommunity

All issues in microsoft/AzureMonitorCommunity

Similar issues

More Observability & SRE issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.