Skip to content

Commit c592cd5

Browse files
authored
Apply suggestions from code review
1 parent 69970d7 commit c592cd5

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

learn-pr/advocates/introduction-azure-copilot-agents/includes/1-deployment-agent.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ The Deployment agent is useful whenever you need to set up new infrastructure or
1818

1919
Example scenarios for the Deployment agent include:
2020

21-
- **Greenfield environment provisioning:** You can prompt Azure Copilot with the following: _"I want to deploy a highly available web application with a front-end, an API layer, a database, and monitoring."_ The Deployment agent designs a multi-tier architecture including Azure Front Door or Azure Application Gateway, an App Service for the web front-end, an AKS, or App Service for the API, Azure SQL or Cosmos DB for the database, and integrate Azure Monitor/App Insights for observability and configure the appropriate secure connectivity. The agent will generates the Terraform configuration to create all these resources. You can then review this plan and deploy it.
21+
- **Greenfield environment provisioning:** You can prompt Azure Copilot with the following: _"I want to deploy a highly available web application with a front-end, an API layer, a database, and monitoring."_ The Deployment agent designs a multi-tier architecture including Azure Front Door or Azure Application Gateway, an App Service for the web front-end, an AKS, or App Service for the API, Azure SQL or Cosmos DB for the database, and integrate Azure Monitor/App Insights for observability and configure the appropriate secure connectivity. The agent will generate the Terraform configuration to create all these resources. You can then review this plan and deploy it.
2222
- **Infrastructure-as-Code automation:** Organizations practicing Infrastructure-as-Code can use the deployment agent to codify their existing architecture in Terraform. Instead of writing the Terraform configuration from scratch, they can describe the setup to Copilot. The Azure Copilot Deployment agent can ensure things like tags, naming conventions, and resource group structure are consistent and compliant with relevant policy. The deployment agent can serve as an Infrastructure as Code templating tool that encapsulates Azure's evolving best practices.
2323
- **Complex multi-service deployments:** The Deployment agent allows you to orchestrate complex or multi-step deployments. For example, you can use the Deployment agent to help deploying a data analytics pipeline that includes Event Hubs, Databricks, Data Lake Storage, and Power BI integration. By describing this to the Azure Copilot Deployment agent in a prompt, the agent would lay out an architecture complete with networking and governance. It would output Infrastructure as Code and provide guidance on how to configure each piece.
2424
- **Integration with DevOps workflows:** The Deployment agent can integrate into enterprise change management systems. For example, if you want to add a new subnet or deploy additional instances, you can prompt the Deployment agent to adjust the infrastructure. The Azure Copilot Deployment agent provides the Terraform delta or a new configuration, which can then be added to a GitHub repository through a pull request. By using the existing workflow processes, agent-proposed changes can go through the compliance checks that standard changes go through. The advantage to Ops teams is that the heavy lifting of writing infrastructure code is handled by the agent.

learn-pr/advocates/introduction-azure-copilot-agents/includes/3-observability-agent.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,6 @@ The Observability agent is applied whenever there's a need to diagnose performan
1717
- **Performance tuning and anomaly detection.** The agent can be asked questions like, _"Why did our app's response time slowdown yesterday around 3 PM?"_ It pulls the monitoring data for that period and analyzes it. Perhaps it finds that a third-party API call was timing out, causing queues to back up. It would report that insight. Or one could ask, _"What's the latest on our system health? Any anomalies?"_ The agent could proactively note, _"We're seeing an unusual increase in error rate on Service X since this morning"_, even if it's below static alert thresholds, thanks to anomaly detection algorithms. This helps operations teams catch issues early.
1818
- **Correlating across logs and metrics.** In cloud applications, diagnosing an issue often means jumping between log analytics queries, metric charts, and tracing systems. The Observability agent can do that heavy lifting. For instance, for a given user-facing error, it could automatically retrieve the relevant Application Insights logs (like exceptions thrown), match those to a spike in the Azure Function's execution time metric, and highlight, say, a dependency call to a database that took unusually long. It essentially narrates a story: _"The function slowed down due to slow DB queries; logs show timeout exceptions at the same time"_. An operator would normally run multiple queries to get that info; the agent does it in one go.
1919
- **Multi-resource incidents.** Consider an outage scenario where multiple alerts fire at once (database, app, and cache all showing errors). The Observability agent can determine if one root cause (for example, the database went down) is triggering cascading failures in the app and then the app's failures caused weird cache behavior. It clusters these alerts into a single "issue" and surfaces the primary fault. This prevents confusion and duplicated effort during high-stress incidents.
20-
- **Guidance for resolution.** While the Observability agent's main job is identifying causes, it also provides remediation suggestions. For example, if it finds a memory leak pattern (memory steadily rising until a crash), it might suggest increasing memory or looking at recent code changes for leaks. If it finds a spike in traffic caused the issue, it could recommend enabling autoscale or upgrading the pricing tier. These suggestions give operators a head start on fixing the issue, often aligning with Azure's best practices or known solutions (from Microsoft's support knowledge base) .
20+
- **Guidance for resolution.** While the Observability agent's main job is identifying causes, it also provides remediation suggestions. For example, if it finds a memory leak pattern (memory steadily rising until a crash), it might suggest increasing memory or looking at recent code changes for leaks. If it finds a spike in traffic caused the issue, it could recommend enabling autoscale or upgrading the pricing tier. These suggestions give operators a head start on fixing the issue, often aligning with Azure's best practices or known solutions (from Microsoft's support knowledge base).
2121

2222
In enterprise settings, this agent contributes to operational efficiency by reducing mean time to resolution (MTTR). By automating analysis of incidents, it frees up engineers to focus on applying fixes rather than spending a lot of time figuring out what broke. It also helps less-experienced team members interpret complex monitoring data. The agent distills raw data into an actionable narrative. Moreover, as systems scale, the volume of observability data can be overwhelming; this agent acts as a smart filter and analyst, ensuring important signals are caught and understood.

0 commit comments

Comments
 (0)