golang-observability

Implement logging, metrics, tracing, and alerting for Go applications.

Updated Apr 20, 2026
One-click install
npx skills add https://github.com/matdev83/go-llm-interactive-proxy --skill golang-observability-matdev83
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: golang-observability
Source: https://github.com/matdev83/go-llm-interactive-proxy/tree/main/.agents/skills/golang-observability
Command: npx skills add https://github.com/matdev83/go-llm-interactive-proxy --skill golang-observability-matdev83

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) and assets (resource) components.

What problem does it solve?

This Skill enables developers to implement comprehensive observability in Go applications, facilitating proactive monitoring, debugging, and alerting.

Core Features & Use Cases

  • Instrumentation Setup: Add structured logging, metrics, and tracing to Go services for full visibility.
  • Best Practices & Guides: Provides detailed instructions on logging, metrics naming, tracing, profiling, and alerting.
  • Use Case: Improve production reliability by integrating sagacious observability signals, creating alert rules, and analyzing performance issues with minimal overhead.

Quick Start

Use the golang-observability skill to implement structured logging, metrics, and tracing in your existing Go service.

Frequently Asked Questions about golang-observability

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

FAQPage Schema
How do I implement structured logging and tracing in a Go service?

To implement structured logging and tracing in a Go service, instrument your code using tools like slog and OpenTelemetry. This provides full visibility into request flows and application behavior for proactive monitoring and debugging.

What is the best way to integrate Prometheus metrics and alerting in Go applications?

Integrating Prometheus metrics and alerting in Go involves adding instrumentation to capture application performance data and defining alert rules. This ensures system transparency and improves production reliability by proactively notifying you of issues.

How does profiling help with debugging performance issues in Go production environments?

Profiling helps debug Go performance issues by analyzing resource utilization and execution bottlenecks with minimal overhead. It enables developers to identify and resolve performance bottlenecks effectively to maintain system reliability.

Can I use OpenTelemetry and slog together for comprehensive observability in Go?

Yes, you can use OpenTelemetry and slog together to build comprehensive observability in Go. Combining these tools allows you to correlate structured logs with distributed traces, providing deeper context for debugging production systems.

What are the best practices for naming metrics and setting up tracing in Go?

Best practices for metrics naming and tracing in Go involve following standardized conventions to ensure clarity and consistency across monitoring dashboards. Proper instrumentation minimizes overhead while maximizing system transparency and reliability.