Implements comprehensive observability for .NET 10 applications using OpenTelemetry standards for traces, metrics, and logs.
This skill enables Claude to architect and implement robust observability in .NET 10 applications using the OpenTelemetry SDK. It provides standardized patterns for configuring distributed tracing with ActivitySource, managing high-performance metrics through IMeterFactory, and setting up unified OTLP export. By emphasizing environment-based configuration and avoiding common pitfalls like high-cardinality tags or memory-leaking Meter instances, this skill ensures your .NET services are production-ready and fully compatible with modern observability backends like the Aspire Dashboard, Prometheus, and Jaeger.
主要功能
01189 GitHub stars
02Null-safe distributed tracing implementation using ActivitySource.
03Unified configuration for traces, metrics, and logs via a single OpenTelemetry setup.
04Seamless integration with Aspire Dashboard for local telemetry visualization.
05Leak-proof metric management using IMeterFactory and singleton patterns.
06High-performance, allocation-free logging with [LoggerMessage] source generators.
使用场景
01Setting up distributed tracing across .NET microservices to debug cross-service latency.
02Implementing custom business KPIs and system metrics with multi-dimensional tagging.
03Standardizing telemetry export using OTLP to integrate with Grafana, Honeycomb, or Datadog.