What problem does it solve?
This Skill provides comprehensive guidelines for logging, metrics collection, tracing, alerting, and overall observability in production-grade Go applications running on Kubernetes.
Core Features & Use Cases
- Structured Logging: Establish consistent, JSON-formatted logs with request IDs and contextual fields to support debugging and incident response.
- Metrics & Tracing: Introduce Prometheus-compatible metrics and OpenTelemetry tracing to monitor latency, error rates, and system health across services.
- Health Checks & Alerts: Implement readiness/liveness probes and alerting rules to ensure reliable deployments and proactive incident management.
- Use Case: For a Go microservice, instrument endpoints to emit metrics for request duration and error rate while emitting structured logs for correlation with traces.
Quick Start
Follow these steps to begin implementing Observability in your platform-go stack: enable the structured logger, add Prometheus metrics, integrate OpenTelemetry tracing, and configure Kubernetes health checks as per the guidelines.