Skip to content

Add Azure benchmark workflows#2156

Merged
cezudas merged 5 commits intomainfrom
cezudas/OPS-3941
Mar 23, 2026
Merged

Add Azure benchmark workflows#2156
cezudas merged 5 commits intomainfrom
cezudas/OPS-3941

Conversation

@cezudas
Copy link
Copy Markdown
Contributor

@cezudas cezudas commented Mar 20, 2026

Fixes OPS-3941.

Copilot AI review requested due to automatic review settings March 20, 2026 12:19
@linear
Copy link
Copy Markdown

linear Bot commented Mar 20, 2026

Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Adds an Azure-focused benchmark workflow catalog (plus an orchestrator + cleanup flow) to support OPS-3941 by enabling automated discovery of cost-optimization opportunities across common Azure resources.

Changes:

  • Added an orchestrator workflow to run benchmark sub-workflows and persist monthly cost timeseries.
  • Added multiple Azure benchmark workflows (VMs, disks, App Service Plans, SQL DBs/elastic pools) that create Opportunities entries.
  • Added a cleanup workflow intended to remove Azure benchmark-generated data.

Reviewed changes

Copilot reviewed 10 out of 11 changed files in this pull request and generated 8 comments.

Show a summary per file
File Description
packages/server/api/src/app/benchmark/workflows-catalog/azure/Run Azure Benchmark - orchestrator.json New orchestrator that triggers cleanup + benchmark subflows, queries cost, and writes Timeseries records.
packages/server/api/src/app/benchmark/workflows-catalog/azure/Clean-up Azure Benchmark data.json New cleanup flow intended to delete benchmark-created Timeseries/Opportunities data.
packages/server/api/src/app/benchmark/workflows-catalog/azure/Azure Benchmark - Unused App Services Plans.json Detects unused App Service Plans (based on app metrics) and creates Opportunities.
packages/server/api/src/app/benchmark/workflows-catalog/azure/Azure Benchmark - Unattached Managed Disks.json Detects unattached disks and creates Opportunities with estimated savings.
packages/server/api/src/app/benchmark/workflows-catalog/azure/Azure Benchmark - Single Databases.json Detects unused single SQL databases and creates Opportunities with estimated savings.
packages/server/api/src/app/benchmark/workflows-catalog/azure/Azure Benchmark - Rightsizing App Service Plans.json Detects underutilized plans and proposes smaller SKU + savings.
packages/server/api/src/app/benchmark/workflows-catalog/azure/Azure Benchmark - Idle VMs.json Detects idle running VMs using CPU/network metrics and creates Opportunities.
packages/server/api/src/app/benchmark/workflows-catalog/azure/Azure Benchmark - Elastic Pools.json Detects empty/unused elastic pools and creates Opportunities with estimated savings.
packages/server/api/src/app/benchmark/workflows-catalog/azure/Azure Benchmark - Elastic Pool Storage.json Detects overprovisioned elastic pool storage and creates Opportunities for downsizing.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@cezudas cezudas requested a review from ravikiranvm March 20, 2026 12:46
cezudas and others added 4 commits March 23, 2026 09:57
…Azure Benchmark - Rightsizing App Service Plans.json

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
@sonarqubecloud
Copy link
Copy Markdown

@cezudas cezudas merged commit eed9074 into main Mar 23, 2026
21 checks passed
@cezudas cezudas deleted the cezudas/OPS-3941 branch March 23, 2026 09:35
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants