
logging
Observability overview and glue for .NET 10: how the pieces fit together
by codewithmukeshFree
Description
Logging is an agent skill that covers observability for .NET 10 services and explains how the pieces fit together. It asks that logs be structured events with named properties rather than formatted strings, so they can be searched, filtered and alerted on. Serilog is the application logger, set up with AddSerilog(), and request summary logging comes from UseSerilogRequestLogging(). OpenTelemetry handles traces, metrics and OTLP export, and it has a skill of its own. The logging skill owns the cross-cutting parts: /health endpoints for load balancers and orchestrators, with liveness and readiness as separate endpoints, correlation IDs that flow through every log entry and downstream call, and the log-level strategy. A table maps each concern to its owner and skill. It is written for .NET teams that want one consistent approach to logs, traces and health checks, and the agent follows it as guidance when it adds observability to a service.…
Highlights
- Structured logging with Serilog
- Request summary logging
- OpenTelemetry traces, metrics and OTLP export
- Separate liveness and readiness health endpoints
- Correlation IDs across requests
Ratings & Reviews
No ratings yet
Be the first to rate logging.
People also visit

observability-edot-dotnet-instrument
Instrument a .NET application with the Elastic Distribution of OpenTelemetry

observability-edot-dotnet-migrate
Migrate a .NET application from the classic Elastic APM .NET agent
openai/aspnet-core
Build, review, and architect ASP.NET Core apps (Blazor, MVC, Minimal APIs, etc.)
logging FAQ
What does the logging skill cover?
How the observability parts of a .NET 10 service fit together: Serilog logs, OpenTelemetry traces, health endpoints, correlation IDs and log levels.
Why structured logs?
Each entry is an event with named properties instead of a formatted message, which makes it easier to search, filter and alert on.
Where is the Serilog and OpenTelemetry setup?
Each has its own skill. The logging skill points to the serilog and opentelemetry skills for full setup and owns the health endpoints and correlation IDs.
How do I install it?
Run npx skills add https://github.com/codewithmukesh/dotnet-claude-kit --skill logging in your project.
What do the security audits say?
Gen Agent Trust Hub: Pass. Socket: Pass. Snyk: Pass.
What are the best logging alternatives?
Popular alternatives to logging include opentelemetry, observability-edot-dotnet-instrument and configuring-opentelemetry-dotnet. See all logging alternatives








