go-observability

Configure OpenTelemetry logging, tracing, and metrics for Go services.

Updated Jan 18, 2026
One-click install
npx skills add https://github.com/333-333-333/agents --skill go-observability
Or copy as Structured Prompt for Agent▼
Please help me install this Agent Skill.
Skill: go-observability
Source: https://github.com/333-333-333/agents/tree/main/skills/go-observability
Command: npx skills add https://github.com/333-333-333/agents --skill go-observability

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes assets (resource) components.

What problem does it solve?

Vendor-neutral observability for Go services using OpenTelemetry, enabling structured logging, distributed tracing, metrics, and export to object storage.

Core Features & Use Cases

  • Structured logging with slog for Go services
  • OpenTelemetry-based tracing and metrics pipelines
  • Export to object storage for long-term retention and cross-environment visibility
  • Use case: instrument a Go microservice to emit logs, traces, and metrics for end-to-end observability

Quick Start

Run the observability setup by configuring the tracer, metric provider, and logger, then start the local docker-compose stack.

Frequently Asked Questions about go-observability

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

FAQPage Schema
How do I set up vendor-neutral observability for a Go microservice?▼

To set up vendor-neutral observability for a Go microservice, configure the slog-based logger, OpenTelemetry tracer, and metric provider, then start the local docker-compose stack to run the OTLP collector.

Does this observability setup integrate tracing and metrics with the Gin framework?▼

Yes, this observability setup integrates tracing and metrics with the Gin framework by providing built-in Gin and gRPC middleware to capture and export telemetry data through the OpenTelemetry pipelines.

What is the best way to export Go application logs and traces to object storage?▼

The best way to export Go application logs and traces to object storage is by using an OpenTelemetry-based pipeline with an OTLP collector configuration, enabling long-term retention and cross-environment visibility.

Can I use slog for structured logging alongside OpenTelemetry in distributed systems?▼

Yes, you can use slog for structured logging alongside OpenTelemetry in distributed systems, combining log data with tracing and metrics pipelines for comprehensive end-to-end observability.

Do I need a specific cloud provider to implement OpenTelemetry tracing in Go services?▼

No, you do not need a specific cloud provider to implement OpenTelemetry tracing in Go services, as the setup is vendor-neutral and exports telemetry via an OTLP collector for both local development and production deployment.