implementing-observability

Implement production observability with OpenTelemetry and the LGTM stack.

503|73|Updated Nov 13, 2025
One-click install
npx skills add https://github.com/ancoleman/ai-design-components --skill implementing-observability-ancoleman
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: implementing-observability
Source: https://github.com/ancoleman/ai-design-components/tree/main/skills/implementing-observability
Command: npx skills add https://github.com/ancoleman/ai-design-components --skill implementing-observability-ancoleman

SYSTEM DOCUMENTATION & REQUIREMENTS

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

What problem does it solve?

This Skill addresses the critical need for deep visibility into production systems by providing a comprehensive framework for implementing monitoring, logging, and tracing.

Core Features & Use Cases

  • Unified Observability: Implement metrics, logs, and traces using OpenTelemetry as the industry standard.
  • LGTM Stack Deployment: Deploy and configure Loki, Grafana, Tempo, and Mimir for self-hosted observability.
  • Log-Trace Correlation: Ensure logs are enriched with trace context for seamless debugging.
  • Use Case: When building a new microservice, use this Skill to set up OpenTelemetry instrumentation, configure log-trace correlation, and deploy the LGTM stack, ensuring you can immediately monitor performance, debug errors, and understand request flows in production.

Quick Start

Implement production observability using OpenTelemetry and the LGTM stack.

Frequently Asked Questions about implementing-observability

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

FAQPage Schema
How do I implement OpenTelemetry instrumentation for a new microservice?

To implement OpenTelemetry instrumentation for a new microservice, you set up data collection for metrics, logs, and traces. This ensures you can immediately monitor performance, debug errors, and understand request flows in production.

What is the best way to set up the LGTM stack for self-hosted observability?

The best way to set up the LGTM stack for self-hosted observability is deploying and configuring Loki, Grafana, Tempo, and Mimir. This provides a comprehensive framework for deep visibility into production systems.

How does log-trace correlation work for debugging production errors?

Log-trace correlation works by enriching logs with trace context using OpenTelemetry. This pattern ensures seamless debugging by linking log entries directly to their originating request flows.

Do I need OpenTelemetry to achieve unified observability across metrics, logs, and traces?

You need OpenTelemetry to achieve unified observability because it serves as the industry standard for implementing metrics, logs, and traces. It provides the comprehensive framework required for building visible and debuggable production systems.

Can I use Grafana with Loki and Tempo for monitoring microservices?

You can use Grafana with Loki and Tempo for monitoring microservices by deploying them as the LGTM stack. Grafana visualizes the metrics, logs, and traces collected via OpenTelemetry to provide deep production visibility.

What are the limitations of self-hosted observability with the LGTM stack?

Limitations of self-hosted observability with the LGTM stack involve the operational overhead of deploying and configuring Loki, Grafana, Tempo, and Mimir yourself. You must manage the infrastructure required to maintain deep visibility into production systems.