Skip to content

Monitoring dashboard support#385

Merged
abatallas merged 2 commits into
mainfrom
abatallas/slurm_dashboard_support
Jun 24, 2026
Merged

Monitoring dashboard support#385
abatallas merged 2 commits into
mainfrom
abatallas/slurm_dashboard_support

Conversation

@abatallas

Copy link
Copy Markdown
Contributor

No description provided.

Comment thread bicep/install.sh Outdated
@abatallas abatallas changed the title Slurm dashboard support Monitoring dashboard support Jun 19, 2026
@abatallas
abatallas force-pushed the abatallas/slurm_dashboard_support branch from 656506b to 38a2208 Compare June 19, 2026 16:49
@ryanhamel
ryanhamel requested a review from Copilot June 19, 2026 19:01

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Pull request overview

Adds end-to-end support for integrating Azure Monitor workspace + Azure Managed Grafana into the deployment flow, including surfacing selectors in the Create UI Definition, plumbing the resulting IDs into the Bicep types/params, assigning RBAC roles, and installing Slurm dashboards into the selected Grafana instance from the deployed VM.

Changes:

  • Replace manual monitoring endpoint/DCR inputs with resource selectors for Azure Monitor workspace and Azure Managed Grafana, and derive ingestion/DCR values via ARM API.
  • Extend monitoring parameter types to include Monitor workspace ID and Grafana ID, and expose Grafana metadata via deployment outputs.
  • Add role assignment support for Grafana Admin + monitoring publishing, and run a post-deploy script step to add Slurm dashboards to Grafana.

Reviewed changes

Copilot reviewed 6 out of 6 changed files in this pull request and generated 2 comments.

Show a summary per file
File Description
uidefinitions/createUiDefinition.json Adds Azure Monitor workspace + Grafana selectors and derives ingestion endpoint/DCR from the selected workspace.
bicep/vmMonitoringRoleAssignments.bicep New module to assign RBAC roles at resource-group scope for the CycleCloud VM principal.
bicep/types.bicep Extends monitoring_enabled_t to include monitorWorkspaceId and grafanaId.
bicep/install.sh Downloads the monitoring project release tarball and invokes dashboard installation for the selected Grafana instance.
bicep/exports.bicep Adds a role definition lookup entry for Grafana Admin.
bicep/ccw.bicep Wires in monitoring RBAC module + adds Grafana details to outputs for consumption by install script.

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

Comment thread bicep/install.sh
Comment thread bicep/ccw.bicep Outdated
Comment thread bicep/ccw.bicep Outdated
Comment thread bicep/install.sh
Comment thread bicep/ccw.bicep Outdated
Comment thread bicep/types.bicep
@abatallas
abatallas force-pushed the abatallas/slurm_dashboard_support branch 2 times, most recently from 3054328 to 5fa11c5 Compare June 22, 2026 17:03
@abatallas
abatallas requested review from bwatrous and Copilot June 22, 2026 17:08

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Pull request overview

Copilot reviewed 6 out of 6 changed files in this pull request and generated 3 comments.

Comment thread bicep/ccw.bicep Outdated
Comment thread bicep/ccw.bicep
Comment thread bicep/install.sh Outdated
Align types.bicep with UI definition outputs

Add Grafana Admin role assignment to CC VM MI

Add Grafana workspace name to monitoring output in ccw.bicep

Output Grafana resource ID in UI definition

Re-add DCR resource ID to UI def outputs

Add slurm dashboards in cloud-init

Dynamically get monitoring project version associated with Slurm project on CC image

Use add_dashboards.sh rather than add_slurm_dashboards.sh from monitoring project

Add monitor workspace ID to UI def outputs

Always have user select AMG instance

Assign monitoring roles to CC VM with narrow scoping

Fix monitoring ingestion endpoint URI
@abatallas
abatallas force-pushed the abatallas/slurm_dashboard_support branch from 5fa11c5 to e0af984 Compare June 22, 2026 18:17
@abatallas
abatallas requested a review from Copilot June 22, 2026 18:21

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Pull request overview

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

Comment thread uidefinitions/createUiDefinition.json
Comment thread bicep/ccw.bicep Outdated
Comment thread bicep/install.sh
Comment thread bicep/ccw.bicep Outdated
@abatallas
abatallas merged commit c35d8e7 into main Jun 24, 2026
2 checks passed
@abatallas
abatallas deleted the abatallas/slurm_dashboard_support branch June 24, 2026 16:18
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.

5 participants