Skip to content

Foundry observability architecture

Scope: Azure AI Foundry

This page describes the Azure AI Foundry target, the hosted-cloud target of ADR-0011. Foundry Local and Azure Local Foundry differ from it in models, features, identity, cost, and operations. Compare all three on Deployment targets.

Decision

Homestead Foundry publishes a Foundry-specific observability package under infra/observability/. It duplicates the relevant public Platform patterns but keeps the scope to Azure AI Foundry operations. It remains a consumer of the Platform tenant-wide package, not a competing tenant operations product.

Operational questions

QuestionAzure-native evidenceDefault cost posture
Is the shared subscription approaching the Foundry cost envelope?Cost Management budget and actual or forecast notificationsBudget only
What Foundry accounts and projects exist, and who owns them?Resource Graph queries and required tagsMetadata only
What changed or failed?Activity Log alerts for deployment failure and high-risk operationsActivity Log signal, no broad export
Is Azure affecting the Foundry workload?Service Health and Resource Health alertsNarrow scopes and action group
Are models behaving normally?Standard Foundry account and project metrics, targeted metric alertsMetrics before logs
Which model was used, when, and how much?ModelDeploymentName dimensions on request, token, availability, and status metricsNative metrics, no diagnostic ingestion
Why did a request, application, or agent fail?Selected diagnostics and Application InsightsDisabled until data and cost approval
Can operators respond consistently?Action group, alert-processing rules, severity policy, and runbooksRequired for every enabled alert

Resource boundary

text
Foundry core deployment
  owns: account, project, model deployments, networking, application resources

Foundry observability deployment
  owns: workspaces, action group, budget, dashboard, selected alerts, optional
        diagnostics and application telemetry controls

Private overlay
  owns: recipients, scopes, resource IDs, budget values, thresholds, retention,
        approved diagnostic categories, and dashboard definitions

The package never creates or changes a monitored Foundry resource. A Foundry diagnostic setting is an explicit exception: it is an optional extension resource applied only to the named existing account in the private overlay.

Capability profiles

ProfileIncludedActivation gate
FoundationIsolated observability resource group, Log Analytics workspace, Azure Monitor Workspace, action group, budget, dashboard shell, query libraryPrivate parameter file and approved what-if
Foundry coreFoundation plus Activity Log alerts, Foundry metric alerts, alert processing, and dashboard definitionReviewed Foundry scopes, metrics, thresholds, owner, severity, and runbook
Foundry diagnosticsSelected Foundry diagnostic categories, Application Insights, availability tests, scheduled query alertsClassification, least-privilege RBAC, retention, sampling, data estimate, cost owner, and safe endpoint review

Foundry signal policy

SignalUseDesign rule
Foundry account metricsRequests, availability, latency, errors, throttling, tokens, generated images, and safety signalsSelect only metrics exposed by the deployed account and model type
Model-use dimensionsModel deployment, model name, model version, status code, and service tier where emittedUse model deployment for dashboard series and retain Cost Management as the currency authority
Foundry project metricsAgent runs, responses, tools, threads, tokens, and hosted-agent capacityTreat preview metrics as advisory until production support is established
Activity LogDeployment failure, control-plane changes, Service Health, Resource HealthUse narrow alert conditions and scopes before exporting activity data
Foundry resource logsAudit, request usage, managed network, request or response categoriesEnable one named category only after its operational question and data posture are approved
Application Insights tracingApplication or agent execution, dependencies, exceptions, latencyPrompts and outputs require explicit data governance; tracing is not enabled merely because a workspace exists
Availability testsExternal health of a supported user-facing endpointTest only a safe, non-destructive endpoint with an explicit cost owner

Cost and privacy controls

  1. Standard metrics and Resource Graph are the first observability data sources.
  2. The Log Analytics workspace has parameterized retention and a daily quota, but a quota is a safety control rather than a billing guarantee.
  3. Budget values and recipients are private parameter-file values, never Bicep literals.
  4. Do not use all-log categories or capture request and response content by default.
  5. Every diagnostics definition records its question, category, classification, retention, sampling, daily-volume estimate, monthly cost owner, and removal date.

The model-use dashboard and alerts use native Azure Monitor metrics. They do not need a diagnostic setting. Audit diagnostics may be enabled for control-plane evidence, but request, response, trace, and request-usage categories remain off unless their data and cost gate is approved.

Platform relationship and hybrid future

Platform owns generic policy, Cost Management reports and exports, tenant inventory, Activity Log export, Azure Local collection, managed Prometheus, data collection rules, and health-model pilots. Homestead can contribute Foundry requirements upstream, then consume the resulting generic capability.

Foundry Local on Windows and Azure Local remain future consumers. Their Azure-connected telemetry must be metadata-only and opt-in by default, with no prompt, response, secret, or model-input capture. If an Arc-enabled Kubernetes workload is introduced, Platform's hybrid extension supplies the reviewed Prometheus and data-collection pattern.