metrics-logs-traces

Implement metrics, structured logging, and distributed tracing with OpenTelemetry.

5|1|Updated Feb 4, 2026
One-click install
npx skills add https://github.com/latestaiagents/agent-skills --skill metrics-logs-traces
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: metrics-logs-traces
Source: https://github.com/latestaiagents/agent-skills/tree/main/plugins/devops-sre/skills/observability/metrics-logs-traces
Command: npx skills add https://github.com/latestaiagents/agent-skills --skill metrics-logs-traces

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

This Skill helps you implement comprehensive observability by establishing robust metrics, structured logging, and distributed tracing, enabling deep insights into system behavior and performance.

Core Features & Use Cases

  • Metrics Implementation: Utilize the RED and USE methods for service and resource monitoring.
  • Structured Logging: Implement standardized JSON logging with appropriate levels for effective debugging.
  • Distributed Tracing: Set up OpenTelemetry for tracing request flows across services.
  • Correlation: Tie together metrics, logs, and traces to pinpoint issues.
  • Alerting: Define best practices for setting up effective alerts.
  • Use Case: Debugging a slow API request by correlating latency spikes in metrics with specific error logs and tracing the request's path through microservices.

Quick Start

Implement comprehensive observability with metrics, logs, and distributed traces.

Frequently Asked Questions about metrics-logs-traces

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

FAQPage Schema
How do I implement distributed tracing with OpenTelemetry across microservices?

Implement distributed tracing with OpenTelemetry by instrumenting microservices to trace request flows. This enables comprehensive system observability and helps debug production issues by visualizing request paths through complex architectures.

What is the best way to correlate metrics, logs, and traces to debug slow API requests?

Correlate metrics, logs, and traces by tying latency spikes in service metrics with specific structured error logs and tracing the request's path. This correlation pinpoints performance issues and identifies root causes in complex architectures.

How do I set up metrics monitoring using the RED and USE methods?

Set up metrics monitoring using the RED method for service monitoring and the USE method for resource monitoring. This approach tracks system health and performance, enabling effective alerting and deep insights into system behavior.

Does this observability approach work with Datadog, Prometheus, and Grafana?

Yes, this observability approach works with Datadog, Prometheus, and Grafana. It satisfies requirements for setting up these monitoring tools and adheres to best practices for alerting and correlating metrics, logs, and traces.

Why do I need structured JSON logging for production debugging?

Structured JSON logging standardizes log formats with appropriate levels for effective debugging. It enables efficient parsing and correlation of error logs with metrics and traces to pinpoint production issues in complex systems.

When should I not use distributed tracing in my architecture?

Distributed tracing adds overhead to request flows, so avoid it in simple monolithic architectures where request paths are already transparent. Use it when debugging complex microservices where understanding request flows is critical.