What problem does it solve?
Provides a consistent, production-ready approach to structured logging, metrics, tracing, and health checks so teams can reliably monitor, diagnose, and alert on .NET services running on Emerald OpenShift without leaking PII or losing observability context.
Core Features & Use Cases
- Structured Logging: Serilog JSON output to stdout with environment and machine enrichment and log level standards that avoid leaking sensitive data.
- Health Checks: Liveness and readiness endpoints with readiness tagging and container HEALTHCHECK guidance for OpenShift.
- Metrics & Tracing: Prometheus-compatible /metrics exposure via prometheus-net and pod annotations for Emerald discovery, plus OpenTelemetry instrumentation and OTLP exporter configuration for distributed tracing.
- Use Case: Instrument an ASP.NET Core API to emit compact JSON logs for centralized aggregation, expose Prometheus metrics for scaling and alerting, and record traces to an OTLP collector for performance diagnosis.
Quick Start
Configure my ASP.NET Core service to write Serilog JSON to stdout, expose /metrics for Prometheus scraping, enable OpenTelemetry tracing with an OTLP exporter, and add liveness/readiness health checks.