monitoring-observability

Standardize logging, metrics, tracing, and alerting for Go applications on Kubernetes.

1|Updated Jul 16, 2025
One-click install
npx skills add https://github.com/linskybing/platform-go --skill monitoring-observability-linskybing
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: monitoring-observability
Source: https://github.com/linskybing/platform-go/tree/main/.github/skills/monitoring-observability
Command: npx skills add https://github.com/linskybing/platform-go --skill monitoring-observability-linskybing

SYSTEM DOCUMENTATION & REQUIREMENTS

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.

Frequently Asked Questions about monitoring-observability

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

FAQPage Schema
How do I implement end-to-end observability for a Go service on Kubernetes?

End-to-end observability for a Go service on Kubernetes is achieved by standardizing structured logging, Prometheus metrics, OpenTelemetry tracing, and health checks. This provides correlated logs, metrics, and traces for reliable production monitoring.

What is the best way to set up structured logging with tracing context in Go?

Structured logging in Go uses consistent JSON formats with request IDs and contextual fields. This supports debugging and incident response by correlating log entries directly with distributed OpenTelemetry traces.

Does this approach support integrating Prometheus metrics and OpenTelemetry tracing together?

Yes, integrating Prometheus metrics and OpenTelemetry tracing is fully supported. You can instrument endpoints to emit Prometheus-compatible metrics for request duration and error rates alongside distributed traces.

How do I configure readiness and liveness probes for Go applications in Kubernetes?

Configuring readiness and liveness probes for Go applications in Kubernetes involves implementing dedicated health checks. These probes ensure reliable deployments and proactive incident management by monitoring system service health.

Can I use this observability setup to establish alerting workflows for my microservices?

Yes, you can establish alerting workflows for your microservices. The setup provides clear alerting guidelines and rules that ensure proactive incident management across production-grade Go application deployments.

When do I need distributed tracing and structured logs for my Go microservice?

You need distributed tracing and structured logs for your Go microservice when monitoring latency, error rates, and system health across services. This combination supports effective debugging and incident response.