Lesson 3 of 4 Observability, Reliability and Cost Monitoring

Monitoring Availability and Performance Against SLAs

This lesson covers the platform metrics, service-level objectives and design choices that let a multi-agent solution meet availability and performance commitments that depend on model deployments, search services, databases, tools and its own compute.

Learning outcomes

After completing this lesson, you will be able to:

  • Identify the platform and solution metrics to monitor.
  • Distinguish SLIs, SLOs, SLAs and error budgets.
  • Calculate composite availability and design for SLA adherence.

Platform and solution metrics

Azure Monitor collects platform metrics for Foundry resources: request counts, latency including time to first token and time between tokens, token usage, and throttled requests. Azure AI Search, Cosmos DB, Container Apps and Functions expose their own metrics. Application Insights availability tests probe the solution's endpoints from several regions, and Azure Service Health and Resource Health report platform incidents that affect the subscription. Latency is tracked as percentiles (p50, p95, p99), because averages hide the slow tail that users notice.

Match the pairs

Where availability data comes from

Exam skills 3.3.2

Match each monitoring source with what it provides.

Log in to try this activity Interactive activities are free with an account.

SLOs, SLAs and error budgets

A service-level indicator (SLI) is a measured quantity, such as the share of requests answered successfully within 10 seconds. A service-level objective (SLO) is the internal target for an SLI, for example 99.5% over 30 days. A service-level agreement (SLA) is the external commitment, usually less strict than the SLO, with consequences if missed. The error budget is the allowed shortfall (0.5% of requests); when it is being consumed quickly, releases slow down and reliability work takes priority.

For agent solutions, SLIs often include task success (not just HTTP success) and end-to-end workflow duration, so that a fast but wrong answer does not count as success.

The following diagram relates the four terms.

SLIs, SLOs, SLAs and the error budget. A service-level indicator is a measured quantity, such as the share of tasks completed successfully within 10 seconds. The service-level objective is the internal target, such as 99.5% over 30 days, and the service-level agreement is the usually less strict external commitment. The error budget is the allowed shortfall, 0.5% of requests here; when it is consumed quickly, releases slow down and reliability work takes priority.
The error budget turns reliability into a release decision.
Fill in the number

Error budgets and composite availability

Exam skills 3.3.2

Work out error budgets and composite availability.

Log in to try this activity Interactive activities are free with an account.

Designing for SLA adherence

When a request depends on several services in series, the composite availability is roughly the product of their availabilities, so it is lower than any one of them. Three services at 99.9% give about 99.7%. Redundancy raises it: multiple model deployments or regions behind a gateway with failover, zone-redundant compute and data services, and fallbacks that let the workflow degrade gracefully instead of failing. The following table lists typical measures.

RiskMeasure
Model deployment throttled or unavailableBackend pool in APIM with priority and failover; second region
Regional outageActive-passive or active-active deployment across regions
Tool dependency downCircuit breaker and degraded answer or queue for later
Capacity shortfall at peakProvisioned throughput for baseline plus Standard for bursts
Scenario questions

Raising availability

Exam skills 3.3.2

Choose the measure that addresses each availability risk.

Log in to try this activity Interactive activities are free with an account.
Worked example

A 99.9% commitment

A company must offer 99.9% monthly availability for an agent API. The design uses one model deployment in one region, one search service and one Container Apps environment, each with comparable SLAs.

The composite availability of three serial dependencies is below 99.9%, so the design cannot meet the commitment. Adding a second model deployment in another region behind API Management with failover, using zone redundancy for search replicas and Container Apps, and defining degraded behaviour when a tool is unavailable raises availability; SLO monitoring with error budgets tracks adherence.

Check yourself

Why track latency percentiles rather than averages?

Show answer

Averages hide the slow tail that some users experience; percentiles such as p95 and p99 show it.

Exam Tips

Remember for the exam

  • Track latency percentiles and time to first token, not averages.
  • Serial dependencies multiply: composite availability is lower than each part.
  • SLOs inside SLAs, with error budgets that govern release pace.