observability

Implement OpenTelemetry tracing, metrics, logging, and health checks in .NET 8-11 applications.

2|Updated Apr 19, 2026
One-click install
npx skills add https://github.com/dimsour/dotnet-ai-toolkit --skill observability-dimsour
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: observability
Source: https://github.com/dimsour/dotnet-ai-toolkit/tree/main/plugins/dotnet-copilot/skills/observability
Command: npx skills add https://github.com/dimsour/dotnet-ai-toolkit --skill observability-dimsour

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires OpenTelemetry, HealthChecks, and includes scripts (resource) and references (resource) components.

What problem does it solve?

This Skill addresses the need for effective observability in .NET applications, ensuring proper logging, monitoring, and traceability of application behavior and performance.

Core Features & Use Cases

  • ILogger<T> Integration: Utilizes ILogger<T> for structured logging in .NET 8-11.
  • Structured Logging: Supports structured logging for improved log analysis and troubleshooting.
  • OpenTelemetry Integration: Offers tracing, metrics, and logging capabilities using OpenTelemetry.
  • Health Checks: Enables health checks for readiness and liveness probes.
  • Use Case: It's ideal for developers aiming to implement a robust logging and monitoring solution in their .NET applications, especially those requiring advanced observability features.

Quick Start

Set up observability in your .NET project by adding the required OpenTelemetry and health check configurations.

Frequently Asked Questions about observability

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I implement observability in .NET applications for structured logging and monitoring?

You can implement observability in .NET applications by utilizing ILogger<T> for structured logging, integrating OpenTelemetry for tracing and metrics, and configuring health checks for readiness and liveness probes.

Does OpenTelemetry integration work with .NET 8 for application tracing and metrics?

Yes, OpenTelemetry integration works with .NET 8-11 to provide tracing, metrics, and logging capabilities, ensuring proper monitoring and traceability of application behavior and performance.

What's the best way to set up health checks for readiness and liveness probes in .NET?

The best way to set up health checks in .NET is by configuring health check endpoints for readiness and liveness probes, which enables effective monitoring of application availability and behavior.

How do I configure structured logging using ILogger in .NET applications?

You configure structured logging in .NET applications by utilizing ILogger<T>, which improves log analysis and troubleshooting by ensuring proper logging of application behavior across .NET 8-11.

Can I use OpenTelemetry for logging instead of traditional structured logging in .NET?

Yes, you can use OpenTelemetry for logging alongside structured logging, as it offers comprehensive tracing, metrics, and logging capabilities to achieve advanced observability in .NET applications.