Instrument Observability

Instruments Microsoft Agent 365 observability into existing .NET AgentFramework, Node.js, or Python agents. Adds OTel-based tracing, context propagation, A365 exporter, manual instrumentation scopes (InvokeAgentScope, InferenceScope, ExecuteToolScope — required for store publishing), and updates configuration files. Asks a two-stage question — agent kind (AI Teammate or Agent (Non AI Teammate)) and auth mode — to determine the correct token path: OBO (`obo` / `agentic-user`) or Service Principal (`s2s`) (FMI 3-hop token chain with Power Platform scope supported for .NET, Node.js, and Python — each language gets a scaffold token-service file that acquires and refreshes the Observability API token via the FMI chain). Non-destructive and idempotent.

Microsoft aeb2932 4 files · 195.8 KB Updated 2.7k repo stars

File contents

microsoft/agent365-skills/tree/main/plugins/agent365/skills/instrument-observability commit aeb2932d96

Frequently asked questions

npx skillmds@latest add microsoft/instrument-observability