Skip to content

Fix/351 config validation and readme corrections#354

Merged
jathavaan merged 2 commits into
mainfrom
fix/351-config-validation-and-readme-corrections
May 26, 2026
Merged

Fix/351 config validation and readme corrections#354
jathavaan merged 2 commits into
mainfrom
fix/351-config-validation-and-readme-corrections

Conversation

@jathavaan
Copy link
Copy Markdown
Collaborator

This pull request adds support for integrating Azure Log Analytics Workspace credentials into the application's configuration, deployment scripts, and documentation. The changes ensure that the necessary environment variables and secrets for Log Analytics are handled consistently across local development, GitHub Actions workflows, and runtime configuration.

Azure Log Analytics integration:

  • Added AZURE_LOG_ANALYTICS_WORKSPACE_ID and AZURE_LOG_ANALYTICS_WORKSPACE_KEY as optional environment variables in the Config class in src/config.py.
  • Updated the container instance creation in main.py to pass the Log Analytics workspace ID and key as command-line arguments.

GitHub Actions workflow updates:

  • Modified .github/workflows/run-benchmarks.yml to include AZURE_LOG_ANALYTICS_WORKSPACE_KEY as a secret, pass the Log Analytics workspace ID and key to the container instance, and set them as environment variables for the workflow. [1] [2]

Documentation updates:

  • Updated README.md to document the new environment variables, secrets, and workflow variables required for Azure Log Analytics integration. [1] [2] [3]

@jathavaan jathavaan self-assigned this May 26, 2026
Copilot AI review requested due to automatic review settings May 26, 2026 12:43
@jathavaan jathavaan enabled auto-merge May 26, 2026 12:43
@jathavaan jathavaan force-pushed the fix/351-config-validation-and-readme-corrections branch from 74a468c to c5b6bee Compare May 26, 2026 12:44
@jathavaan jathavaan disabled auto-merge May 26, 2026 12:46
@jathavaan jathavaan merged commit 8b8b53d into main May 26, 2026
1 of 2 checks passed
@jathavaan jathavaan deleted the fix/351-config-validation-and-readme-corrections branch May 26, 2026 12:46
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

This PR adds Azure Log Analytics Workspace support by wiring workspace credentials into configuration, Azure Container Instances (ACI) creation, the CI workflow, and the README so benchmark containers can be provisioned with Log Analytics integration.

Changes:

  • Added AZURE_LOG_ANALYTICS_WORKSPACE_ID / AZURE_LOG_ANALYTICS_WORKSPACE_KEY to Config.
  • Updated orchestrator container creation logic to pass Log Analytics flags to az container create.
  • Updated GitHub Actions workflow and README to document/provide the new variables/secrets.

Reviewed changes

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

File Description
src/config.py Adds optional config fields for Log Analytics workspace ID/key.
main.py Passes Log Analytics flags when creating benchmark containers via Azure CLI.
.github/workflows/run-benchmarks.yml Supplies workspace ID/key to the orchestrator container creation step.
README.md Documents the new env vars and GitHub Actions secrets/variables.

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

Comment thread main.py
Comment on lines +390 to 396
"--log-analytics-workspace",
Config.AZURE_LOG_ANALYTICS_WORKSPACE_ID,
"--log-analytics-workspace-key",
Config.AZURE_LOG_ANALYTICS_WORKSPACE_KEY,
"--no-wait",
]

Comment thread main.py
Comment on lines +390 to 394
"--log-analytics-workspace",
Config.AZURE_LOG_ANALYTICS_WORKSPACE_ID,
"--log-analytics-workspace-key",
Config.AZURE_LOG_ANALYTICS_WORKSPACE_KEY,
"--no-wait",
Comment thread src/config.py
Comment on lines +30 to +35
AZURE_LOG_ANALYTICS_WORKSPACE_ID: str = os.getenv(
"AZURE_LOG_ANALYTICS_WORKSPACE_ID", ""
)
AZURE_LOG_ANALYTICS_WORKSPACE_KEY: str = os.getenv(
"AZURE_LOG_ANALYTICS_WORKSPACE_KEY", ""
)
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.

2 participants