microsoft-opentelemetry-setup

Installation
SKILL.md

Microsoft OpenTelemetry Distro — Greenfield Setup

When to Use

  • User asks to "add observability" or "add telemetry" to a .NET app
  • User wants to set up Agent 365, Azure Monitor, or OTLP export
  • User is starting a new agent project and needs tracing
  • User asks about Microsoft.OpenTelemetry package

Procedure

1. Detect App Type

Scan the project to determine the app type:

  • ASP.NET Core — has WebApplication.CreateBuilder() or IHostApplicationBuilder → use hosted pattern
  • Console / Background Service — no web host, uses OpenTelemetrySdk.Create() → use console pattern
  • Agent Framework — references Microsoft.Agents.Builder or Microsoft.Agents.AI → use Agent Framework pattern

2. Install Package

Installs
1
GitHub Stars
4
First Seen
3 days ago