golang-observability

Instrument Go services with slog, Prometheus, OpenTelemetry, and profiling.

Updated Aug 23, 2026
One-click install
npx skills add https://github.com/nrmnqdds/gomaluum --skill golang-observability-nrmnqdds
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: golang-observability
Source: https://github.com/nrmnqdds/gomaluum/tree/main/.agents/skills/golang-observability
Command: npx skills add https://github.com/nrmnqdds/gomaluum --skill golang-observability-nrmnqdds

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

Go applications frequently drift into unobservable darkness in production, making it hard to detect, diagnose, and fix issues quickly. This Skill bundles logging, metrics, tracing, profiling, and Real User Monitoring concepts to establish a cohesive observability posture.

Core Features & Use Cases

  • Structured logging with slog and optional bridges to existing loggers
  • Prometheus-based metrics, histogram-based latency, and PromQL-ready documentation
  • Distributed tracing with OpenTelemetry and otelhttp for HTTP propagation
  • On-demand and continuous profiling with pprof and Pyroscope
  • Server-side Real User Monitoring (RUM) and privacy-conscious identity approach

Quick Start

Follow the guide to instrument a Go service with logs, metrics, tracing, profiling, and RUM using the recommended libraries.

Frequently Asked Questions about golang-observability

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

FAQPage Schema
How do I instrument a Go service with logs, metrics, and tracing?

Instrument Go services using structured logging with slog, Prometheus-based metrics, and OpenTelemetry distributed tracing with otelhttp to achieve end-to-end production visibility and fast issue diagnosis.

What is the best way to set up observability for production Go applications?

Production Go observability requires a cohesive set of signals including logs, metrics, traces, profiling, and Real User Monitoring to prevent applications from drifting into unobservable darkness and enable measurable performance insights.

Can I use slog and Prometheus together for Go application monitoring?

Yes, you can use slog for structured logging with optional bridges to existing loggers, alongside Prometheus-based metrics including histogram-based latency tracking and PromQL-ready documentation for comprehensive monitoring.

How does OpenTelemetry trace-context propagation work in Go services?

OpenTelemetry tracing uses otelhttp for HTTP propagation in Go services, with configurable trace-context propagation and sampling options to control how distributed traces are collected and analyzed across production environments.

When do I need on-demand profiling and Real User Monitoring in Go?

On-demand profiling with pprof and Pyroscope, alongside server-side Real User Monitoring, is needed when you require fast diagnosis of performance bottlenecks and want to track user experiences with a privacy-conscious identity approach.