본문으로 건너뛰기
Skillpedia
배포 및 클라우드 (DevOps)41k · #6740

distributed-tracing

하는 일

요청이 컴퓨터 시스템의 여러 부분을 어떻게 지나가는지 이해하도록 돕습니다. 느린 성능이나 오류를 찾을 때 유용합니다.

사용하는 경우

  • ✓무언가 느릴 때
  • ✓서비스들이 어떻게 통신하는지 확인할 때
  • ✓오류가 어디에서 발생하는지 찾을 때

스킬 링크

https://github.com/wshobson/agents/blob/main/plugins/observability-monitoring/skills/distributed-tracing/SKILL.md

복사해서 AI(Claude, ChatGPT, Cursor)에 붙여넣고 지침을 따르도록 요청하세요.

사용 방법

가장 쉬운 방법입니다. 메시지를 복사해 AI에 붙여넣으세요. AI가 스킬을 읽고 지침을 따릅니다.

바로 붙여넣을 수 있는 메시지

Use this skill to help me: https://github.com/wshobson/agents/blob/main/plugins/observability-monitoring/skills/distributed-tracing/SKILL.md Read the SKILL.md file at that link and follow its instructions for my task.
AI가 이런 스킬을 알아서 찾아 쓰길 원하시나요?무료 Skillpedia MCP를 설치하세요. 한 줄이면 작업마다 스킬 15,000+개 중에서 검색합니다.1분 만에 설치 →

AI에게 요청하는 예시

“처리가 너무 오래 걸리는 요청을 추적하도록 도와주세요.”

매주 새 스킬 5개. 읽는 데 1분.

작동 방식

요청이 거치는 각 단계에 작은 정보 조각을 더합니다. 이 정보는 요청의 전체 여정을 볼 수 있는 곳으로 보내집니다.

기술 내용 (원본 SKILL.md)

작성자의 영어 원문을 GitHub에서 그대로 가져왔습니다.

Distributed Tracing

Implement distributed tracing with Jaeger and Tempo for request flow visibility across microservices.

Purpose

Track requests across distributed systems to understand latency, dependencies, and failure points.

When to Use

  • Debug latency issues
  • Understand service dependencies
  • Identify bottlenecks
  • Trace error propagation
  • Analyze request paths

Detailed patterns and worked examples

Detailed pattern documentation lives in references/details.md. Read that file when the navigation tier above is insufficient.

Best Practices

  1. Sample appropriately (1-10% in production)
  2. Add meaningful tags (user_id, request_id)
  3. Propagate context across all service boundaries
  4. Log exceptions in spans
  5. Use consistent naming for operations
  6. Monitor tracing overhead (<1% CPU impact)
  7. Set up alerts for trace errors
  8. Implement distributed context (baggage)
  9. Use span events for important milestones
  10. Document instrumentation standards

Integration with Logging

Correlated Logs

import logging
from opentelemetry import trace

logger = logging.getLogger(__name__)

def process_request():
    span = trace.get_current_span()
    trace_id = span.get_span_context().trace_id

    logger.info(
        "Processing request",
        extra={"trace_id": format(trace_id, '032x')}
    )

Troubleshooting

No traces appearing:

  • Check collector endpoint
  • Verify network connectivity
  • Check sampling configuration
  • Review application logs

High latency overhead:

  • Reduce sampling rate
  • Use batch span processor
  • Check exporter configuration

Related Skills

  • prometheus-configuration - For metrics
  • grafana-dashboards - For visualization
  • slo-implementation - For latency SLOs
자주 묻는 질문

'마이크로서비스'란 무엇인가요?

더 큰 프로그램의 작고 독립적인 부분들로, 서로 통신합니다.

'Jaeger'나 'Tempo'는 무엇인가요?

추적 정보를 모아 보여 주는 도구입니다. 그래서 이를 시각적으로 확인할 수 있습니다.

왜 추적을 '샘플링'하나요?

특히 요청이 많은 대규모 시스템에서 정보가 넘쳐 시스템에 부담을 주지 않도록 하기 위해서입니다.

상세 정보

작성자의 원본 설명

Implement distributed tracing with Jaeger and Tempo to track requests across microservices and identify performance bottlenecks. Use when debugging microservices, analyzing request flows, or implementing observability for distributed systems.

repo: wshobson/agents

인기도

GitHub 스타
41k
순위
#6740
라이선스
MIT
업데이트
2026. 10. 15.

이 스킬이 유용한가요?

0

로그인 투표하려면 로그인하세요.

댓글

  • …

이 저장소의 다른 스킬

비슷한 스킬