
Skill
microsoft-opentelemetry-migration
migrate to Microsoft OpenTelemetry distro
Description
Migrate from A365 Observability SDK to Microsoft.OpenTelemetry distro. Use when converting an existing agent that uses Microsoft.Agents.A365.Observability packages to the unified distro. Covers package swap, API mapping, Program.cs rewrite, token resolver migration, and validation.
SKILL.md
A365 SDK → Microsoft.OpenTelemetry Distro Migration
When to Use
- User asks to "migrate from A365 SDK" or "switch to the distro"
- Project references
Microsoft.Agents.A365.Observability.*packages - User mentions
ConfigureOpenTelemetry(),AddA365Tracing(),Builderclass, orTokenStore
Procedure
1. Analyze Current State
Scan the project for A365 SDK patterns. See analysis template.
Look for:
Microsoft.Agents.A365.Observability.*package referencesbuilder.ConfigureOpenTelemetry()builder.AddA365Tracing(config => { ... })Agent365ExporterOptions/TokenStoreBuilderclass (fluent API from A365 SDK)
2. Swap Packages
See package swap.
Remove A365 observability + individual OTel packages. Add Microsoft.OpenTelemetry.
3. Rewrite Program.cs
See Program.cs migration.
Replace ConfigureOpenTelemetry() + AddA365Tracing() with UseMicrosoftOpenTelemetry().
4. Migrate Token Resolver
Replace TokenStore pattern with DI token cache or custom resolver.
5. Migrate Baggage / Middleware
See baggage middleware migration.
6. Handle API Differences
See API differences.
7. Migrate Auto-Instrumentation Config
See auto-instrumentation migration.
8. Validate
See validation checklist.
- Build succeeds
- No references to removed APIs
- Console exporter shows spans with identity attributes
- Agent responds correctly
More skills from the opentelemetry-distro-dotnet repository
View all 2 skillsMore from Microsoft
View publisherplaywright-trace
inspect Playwright trace files
playwright
Apr 6DebuggingPlaywrightTestingrushstack-best-practices
manage Rush monorepos with best practices
rushstack
Apr 6EngineeringLocal DevelopmentMicrosoftProject Management +1azure-ai-agents-persistent-dotnet
build AI agents with Azure .NET SDK
skills
Jul 3.NETAgentsAzureLLMazure-ai-anomalydetector-java
build anomaly detection applications with Java
skills
May 13AnalyticsAzureData AnalysisJava +2azure-ai-contentsafety-java
build content moderation applications with Azure AI
skills
Jul 7AI InfrastructureAzureJavaSecurityazure-ai-contentsafety-py
detect harmful content with Azure AI Content Safety
skills
Jul 18AzureComplianceLLMMicrosoft +2