administering-linux
Manage Linux systems covering systemd services, process management, filesystems, networking, performance tuning, and troubleshooting. Use when deploying…
Monitoring, logging, and tracing implementation using OpenTelemetry as the unified standard. Use when building production systems requiring visibility into performance, errors, and behavior. Covers OpenTelemetry (metrics, logs, traces), Prometheus, Grafana, Loki, Jaeger, Tempo,
$ npx -y skills add ancoleman/ai-design-components --skill implementing-observability --agent claude-codeHow it fires
How this skill gets triggered: by you, by Claude, or both.
/implementing-observabilityContext preview
The summary Claude sees to decide when to auto-load this skill.
Monitoring, logging, and tracing implementation using OpenTelemetry as the unified standard. Use when building production systems requiring visibility into performance, errors, and behavior. Covers OpenTelemetry (metrics, logs, traces), Prometheus, Grafana, Loki, Jaeger, Tempo,
name: implementing-observability description: Monitoring, logging, and tracing implementation using OpenTelemetry as the unified standard. Use when building production systems requiring visibility into performance, errors, and behavior. Covers OpenTelemetry (metrics, logs, traces), Prometheus, Grafana, Loki, Jaeger, Tempo, structured logging (structlog, tracing, slog, pino), and alerting.
Implement production-grade observability using OpenTelemetry as the 2025 industry standard. Covers the three pillars (metrics, logs, traces), LGTM stack deployment, and critical log-trace correlation patterns.
Use when:
Skip if:
OpenTelemetry is the CNCF graduated project unifying observability:
┌────────────────────────────────────────────────────────┐ │ OpenTelemetry: The Unified Standard │ ├────────────────────────────────────────────────────────┤ │ │ │ ONE SDK for ALL signals: │ │ ├── Metrics (Prometheus-compatible) │ │ ├── Logs (structured, correlated) │ │ ├── Traces (distributed, standardized) │ │ └── Context (propagates across services) │ │ │ │ Language SDKs: │ │ ├── Python: opentelemetry-api, opentelemetry-sdk │ │ ├── Rust: opentelemetry, tracing-opentelemetry │ │ ├── Go: go.opentelemetry.io/otel │ │ └── TypeScript: @opentelemetry/api │ │ │ │ Export to ANY backend: │ │ ├── LGTM Stack (Loki, Grafana, Tempo, Mimir) │ │ ├── Prometheus + Jaeger │ │ ├── Datadog, New Relic, Honeycomb (SaaS) │ │ └── Custom backends via OTLP protocol │ │ │ └────────────────────────────────────────────────────────┘
**Context7 Reference**: `/websites/opentelemetry_io` (Trust: High, Snippets: 5,888, Score: 85.9)
Track system health and performance over time.
**Metric Types**: Counters (always increase), Gauges (up/down), Histograms (distributions), Summaries (percentiles).
**Brief Example (Python)**:
from opentelemetry import metrics
meter = metrics.get_meter(__name__)
http_requests = meter.create_counter("http.server.requests")
http_requests.add(1, {"method": "GET", "status": 200})Record discrete events with context.
**CRITICAL**: Always inject trace_id/span_id for log-trace correlation.
**Brief Example (Python + structlog)**:
import structlog
from opentelemetry import trace
logger = structlog.get_logger()
span = trace.get_current_span()
ctx = span.get_span_context()
logger.info(
"processing_request",
trace_id=format(ctx.trace_id, '032x'),
span_id=format(ctx.span_id, '016x'),
user_id=user_id
)**See**: `references/structured-logging.md` for complete configuration.
Track request flow across distributed services.
**Key Concepts**: Trace (end-to-end journey), Span (individual operation), Parent-Child (nested operations).
**Brief Example (Python + FastAPI)**:
from opentelemetry.instrumentation.fastapi import FastAPIInstrumentor app = FastAPI() FastAPIInstrumentor.instrument_app(app) # Auto-traces all HTTP requests
**See**: `references/opentelemetry-setup.md` for SDK installation by language.
LGTM = **L**oki (Logs) + **G**rafana (Visualization) + **T**empo (Traces) + **M**imir (Metrics)
┌────────────────────────────────────────────────────────┐ │ LGTM Architecture │ ├────────────────────────────────────────────────────────┤ │ │ │ ┌──────────────────────────────────────────────┐ │ │ │ Grafana Dashboard (Port 3000) │ │ │ │ Unified UI for Logs, Metrics, Traces │ │ │ └──────┬──────────────┬─────────────┬─────────┘ │ │ │ │ │ │ │ ▼ ▼ ▼ │ │ ┌──────────┐ ┌──────────┐ ┌──────────┐ │ │ │ Loki │ │ Tempo │ │ Mimir │ │ │ │ (Logs) │ │ (Traces) │ │(Metrics) │ │ │ │Port 3100 │ │Port 3200 │ │Port 9009 │ │ │ └────▲─────┘ └────▲─────┘ └────▲─────┘ │ │ │ │ │ │ │ └──────────────┴─────────────┘ │ │ │ │ │ ┌───────▼────────┐ │ │ │ Grafana Alloy │ │ │ │ (Collector) │ │ │ │ Port 4317/8 │ ← OTLP gRPC/HTTP │ │ └───────▲────────┘ │ │ │ │ │ OpenTelemetry Instrumented Apps │ │ │ └────────────────────────────────────────────────────────┘
**Quick Start**: Run `examples/l
Comprehensive UI/UX and Backend component design skills for AI-assisted development with Claude
Repo: ancoleman/ai-design-components
Manage Linux systems covering systemd services, process management, filesystems, networking, performance tuning, and troubleshooting. Use when deploying…
Data pipelines, feature stores, and embedding generation for AI/ML systems. Use when building RAG pipelines, ML feature serving, or data transformations.…
Strategic guidance for designing modern data platforms, covering storage paradigms (data lake, warehouse, lakehouse), modeling approaches (dimensional,…
Design cloud network architectures with VPC patterns, subnet strategies, zero trust principles, and hybrid connectivity. Use when planning VPC topology,…
Design comprehensive security architectures using defense-in-depth, zero trust principles, threat modeling (STRIDE, PASTA), and control frameworks (NIST CSF,…
Assembles component outputs from AI Design Components skills into unified, production-ready component systems with validated token integration, proper import…