net-observability

Configure OpenTelemetry, Serilog, and Prometheus/Jaeger exporters for ASP.NET Core observability.

165|62|Updated Jan 9, 2026
One-click install
npx skills add https://github.com/mitkox/ai-coding-factory --skill net-observability
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: net-observability
Source: https://github.com/mitkox/ai-coding-factory/tree/main/.opencode/skill/net-observability
Command: npx skills add https://github.com/mitkox/ai-coding-factory --skill net-observability

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This Skill helps .NET teams implement enterprise-grade observability by wiring structured logging, distributed tracing, and metrics into ASP.NET Core applications, reducing blind spots in production and speeding issue resolution.

Core Features & Use Cases

  • Structured logging: Implement Serilog-based structured logs across services for fast search, correlation, and diagnostics.
  • Distributed tracing: Wire OpenTelemetry to capture end-to-end traces across HTTP calls and internal components.
  • Metrics & health checks: Expose Prometheus-compatible metrics and ready/live health checks for Kubernetes or cloud environments.
  • Correlation IDs: Propagate correlation identifiers to maintain trace continuity across microservices.
  • Use Case: Onboard a new .NET service into an observed system with minimal boilerplate and clear telemetry.

Quick Start

Configure a sample ASP.NET Core project to enable Serilog, OpenTelemetry, and Prometheus/Jaeger exporters following the steps in this guide.

Frequently Asked Questions about net-observability

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

FAQPage Schema
How do I configure OpenTelemetry tracing in ASP.NET Core microservices?

You configure OpenTelemetry tracing in ASP.NET Core by wiring instrumentation to capture end-to-end traces across HTTP calls, implementing exporters for Jaeger to visualize distributed tracing across service boundaries.

What is the best way to implement structured logging with Serilog in .NET?

Structured logging with Serilog in .NET is implemented by enriching logs with contextual data, enabling fast search, correlation, and diagnostics across services to reduce production blind spots and speed issue resolution.

How do I expose Prometheus metrics and health checks for Kubernetes in ASP.NET Core?

You expose Prometheus metrics and health checks in ASP.NET Core by configuring exporters to expose ready and live endpoints, satisfying production observability requirements for Kubernetes or cloud environments.

Can I propagate correlation IDs across .NET microservices for distributed tracing?

Yes, you propagate correlation identifiers across .NET microservices to maintain trace continuity, enabling comprehensive telemetry across service boundaries when using OpenTelemetry and Serilog configurations.

Does this observability setup work for both cloud and on-premises deployments?

This observability setup works for ASP.NET Core applications deployed on both cloud and on-premises environments, targeting microservices and monoliths to provide comprehensive telemetry across service boundaries.