Skip to Content
Solution PlaysPlay 17: Play 17 β€” AI Observability πŸ“Š

Play 17 β€” AI Observability πŸ“Š

End-to-end monitoring for AI workloads β€” tracing, metrics, dashboards, and intelligent alerts.

Instrument your AI pipeline with Application Insights, track token usage and cost per tenant with custom metrics, build KQL dashboards for real-time visibility, and configure alerts for latency spikes, quality drops, and budget overruns.

Quick Start

cd solution-plays/17-ai-observability az deployment group create -g $RG -f infra/main.bicep -p infra/parameters.json code . # Use @builder for instrumentation, @reviewer for telemetry audit, @tuner for cost

Architecture

πŸ“ Full architecture details

ServicePurpose
Application InsightsTelemetry collection, distributed tracing
Log Analytics WorkspaceKQL querying, data retention
Azure MonitorAlert rules, action groups
Azure DashboardShared workbooks with live metrics

AI-Specific Metrics Tracked

MetricTypeWhat It Shows
ai.tokens.costCounterDollar cost per request
ai.latency.ttftHistogramTime to first token
ai.quality.groundednessGaugeRAG quality score
ai.safety.blockedCounterContent safety blocks
ai.cache.hitCounterSemantic cache effectiveness

DevKit (Observability-Focused)

PrimitiveWhat It Does
3 agentsBuilder (instrumentation/dashboards/alerts), Reviewer (telemetry audit/PII/coverage), Tuner (sampling/retention/cost)
3 skillsDeploy (128 lines), Evaluate (110 lines), Tune (120 lines)
4 prompts/deploy (App Insights + dashboards), /test (tracing), /review (PII/retention), /evaluate (alert coverage)

Note: This is an operational observability play. TuneKit covers sampling rates, alert thresholds, log retention tiers, KQL optimization, and Log Analytics cost β€” not AI model parameters.

Cost Estimate

ServiceDev/PoCProductionEnterprise
Application Insights$0/mo$50/mo$200/mo
Log Analytics Workspace$0/mo$75/mo$200/mo
Azure Monitor$0/mo$30/mo$80/mo
Azure Managed Grafana$0/mo$15/mo$30/mo
Azure OpenAI$30/mo$200/mo$800/mo
Cosmos DB$3/mo$50/mo$180/mo
Key Vault$1/mo$3/mo$10/mo
Azure Functions$0/mo$10/mo$75/mo
Total$34/mo$433/mo$1,575/mo

πŸ’° Full cost breakdown

πŸ“– Full docs Β· 🌐 frootai.dev/solution-plays/17-ai-observabilityΒ 

FAI Manifest

FieldValue
Play17-ai-observability
Version1.0.0
KnowledgeT3-Production-Patterns, O5-GPU-Infra
WAF Pillarsoperational-excellence, reliability, cost-optimization
Groundednessβ‰₯ 85%
Safety0 violations max
Last updated on