IBM's Azure Foundry Enterprise Kit

Telemetry Schema

Overview

All agent telemetry is emitted as OpenTelemetry spans and events through the azure-monitor-opentelemetry exporter to Azure Application Insights. The schema ensures consistent, queryable data across all agents, adapters, and trust extensions — stored in Azure Log Analytics and visualized via pre-built Azure Monitor Workbooks.

Telemetry Pipeline

LayerAzure ServicePurpose
SDKOpenTelemetry + azure-monitor-opentelemetrySpan/event generation & export
IngestionAzure Application InsightsCustom events, dependencies, traces
StorageAzure Log Analytics WorkspaceLong-term retention, KQL queries
VisualizationAzure Monitor WorkbooksPre-built agent monitoring dashboards
AlertingAzure Monitor Action GroupsThreshold-based alerts, remediation triggers

Event Types

Event TypeDescriptionEmitter
agent_invocationAgent received and processed a requestAgent runtime
tool_callAgent called an MCP toolTool server
policy_evaluationPolicy engine evaluated a constraintPolicy engine
eval_resultEvaluation completed for an agentEval runner
certification_gateAgent passed/failed a certification checkCert pipeline
decision_recordDecision recorded in ledgerDecision ledger
guardrail_triggerContent safety filter triggeredGuardrails manager

Common Fields

{
  "event_type": "agent_invocation",
  "timestamp": "2025-01-15T10:30:00.000Z",
  "correlation_id": "uuid-v4",
  "agent_id": "knowledge-agent-v1.0.0",
  "agent_class": "retrieval",
  "environment": "production",
  "tenant_id": "uuid",
  "subscription_id": "uuid"
}

Agent Invocation Event

{
  "event_type": "agent_invocation",
  "duration_ms": 2340,
  "model_deployment": "gpt-4o",
  "input_tokens": 1250,
  "output_tokens": 480,
  "total_tokens": 1730,
  "tools_called": ["azure_ai_search", "file_search"],
  "tool_call_count": 3,
  "status": "success",
  "trust_score": 0.92
}

Tool Call Event

{
  "event_type": "tool_call",
  "tool_name": "create_incident",
  "adapter": "servicenow",
  "duration_ms": 890,
  "status": "success",
  "http_status": 201,
  "retry_count": 0
}

KQL Queries (Azure Log Analytics)

Pre-built KQL queries are available in observability/kql/agent-monitoring-queries.kql for Azure Log Analytics:

  • Agent invocation latency percentiles
  • Tool call error rates by adapter
  • Token consumption trends
  • Trust score distribution
  • Policy violation timeline
  • Guardrail trigger frequency

Azure Monitor Workbook

A pre-built Azure Monitor Workbook is included at observability/appinsights/agent-monitoring-workbook.json. Import it into your Azure Application Insights resource for a comprehensive agent monitoring dashboard covering latency, token consumption, trust scores, policy violations, and guardrail triggers.