What problem does it solve?
This Skill provides comprehensive observability tools for Go services, enabling proactive monitoring, alerting, and troubleshooting in production environments.
Core Features & Use Cases
- Structured Logging: Implement structured logging with
slog and integrate with OpenTelemetry for trace correlation.
- Metrics Collection: Utilize Prometheus for monitoring, with Histograms for latency metrics and custom alerting rules.
- Tracing: Integrate OpenTelemetry for distributed tracing across service boundaries.
- Profiling: Enable continuous profiling with pprof and Pyroscope for performance analysis.
- Real User Monitoring (RUM): Track user interactions and performance with server-side event tracking.
- Alerting: Set up Prometheus alerting rules using the four golden signals for proactive problem detection.
- Grafana Dashboards: Visualize Go service performance with pre-built dashboards.
- Use Case: For a Go microservice, this Skill helps to instrument the service for production monitoring, set up alerting based on SLOs, and visualize performance metrics in Grafana.
Quick Start
Use the golang-observability skill to set up structured logging for your Go service and configure Prometheus alerting rules.