Repository navigation
Add Storage Intelligence disk performance diagnostics - #3580
Draft
pranjal-abhyankar wants to merge 16 commits into
Draft
pranjal-abhyankar wants to merge 16 commits into
pranjal-abhyankar wants to merge 16 commits into
Conversation
|
Azure Pipelines: Successfully started running 1 pipeline(s). There may be pipelines that require an authorized user to comment /azp run to run. |
pranjal-abhyankar
force-pushed
the
pabhyankar/storage-disk-diagnose
branch
from
October 6, 2026 20:10
44459d3 to
dedef23
Compare
|
pranjal-abhyankar please read the following Contributor License Agreement(CLA). If you agree with the CLA, please reply with the following information.
Contributor License AgreementContribution License AgreementThis Contribution License Agreement (“Agreement”) is agreed to by the party signing below (“You”),
|
pranjal-abhyankar
force-pushed
the
pabhyankar/storage-disk-diagnose
branch
from
October 14, 2026 22:44
f08bc48 to
7919d1e
Compare
added 15 commits
October 15, 2026 12:20
pranjal-abhyankar
force-pushed
the
pabhyankar/storage-disk-diagnose
branch
from
October 15, 2026 23:06
7919d1e to
7800f67
Compare
msalaman
reviewed
Oct 16, 2026
msalaman
approved these changes
Oct 19, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What does this PR do?
Adds the read-only
storage_disk_diagnosetool under the existing Storage toolset for Storage Intelligence disk performance troubleshooting.The tool supports standalone VM, canonical VM scale set instance, and attached managed-disk resource IDs, plus friendly VM selection by subscription/resource group/name and optional filtering for up to 64 attached disks. Optional start and end timestamps must be supplied together, use explicit-offset ISO 8601/RFC3339 formatting, and define a window of no more than 24 hours.
The implementation forwards successful Storage Intelligence JSON without owning its response schema, while bounding responses with a provisional 10 MiB safety limit. Empty, malformed, or oversized successful responses produce sanitized upstream-service errors. The change also includes VMSS-aware disk-name resolution, strict ARM resource-ID validation, public-cloud endpoint defaults with operator overrides, AOT-safe serialization, documentation, focused tests, and recorded Playback coverage.
The recording fixture uses a
Standard_D2ds_v6VM with NVMe inwestus2. Host-latency enrichment remains optional because Storage Intelligence may omitlatencyMetricswhen telemetry is unavailable.Validation completed:
./eng/scripts/Test-Code.ps1 -TestType Recorded -Paths Storagepassed: 30 succeeded, 3 pre-existing skips, 0 failures../eng/scripts/Build-Local.ps1 -VerifyNpxpassed../eng/scripts/Update-AzCommandsMetadata.ps1passed../eng/common/spelling/Invoke-Cspell.ps1passed; targeted CSpell validation of the previously failing files reported zero issues.git diff --checkpassed.Azure.Mcp.Tools.Storage.Tests_c146aafbb5; Playback passed from the published tag.GitHub issue number?
Closes #2704
Pre-merge Checklist
Required for All PRs
For MCP tool changes:
servers/Azure.Mcp.Server/README.mdand/orservers/Fabric.Mcp.Server/README.mddocumentationREADME.mdchanges running the script./eng/scripts/Process-PackageReadMe.ps1. See Package READMEToolDescriptionEvaluatorand obtained a score of0.4or more and a top 3 ranking for all related test promptsconsolidated-tools.jsonbreaking-changelabel — N/A, this is a new tool rather than a renameExtra steps for Azure MCP Server tool changes:
servers/Azure.Mcp.Server/docs/azmcp-commands.md./eng/scripts/Update-AzCommandsMetadata.ps1to update tool metadata inazmcp-commands.md(required for CI)servers/Azure.Mcp.Server/docs/e2eTestPrompts.mdcrypto mining, spam, data exfiltration, etc.) — N/A/azp run mcp - pullrequest - liveto run Live Test Pipeline — pending required live-test approval belowRequired live-test pipeline run
Invoking Livetests
Copilot submitted PRs are not trustworthy by default. Users with
writeaccess to the repo need to validate the contents of this PR before leaving a comment with the text/azp run mcp - pullrequest - live. This will trigger the necessary livetest workflows to complete required validation.