Skip to main content

Tracing Awesome

Service

Integration

Spec

  • opentracing
    • Vendor-neutral APIs and instrumentation for distributed tracing
  • W3C trace-context
    • HTTP 添加 trace 头 traceparent,traceparent
    • 头中信息包含 version、trace-id、parent-id、trace-flags

Reference

  • Tracing
  • Google Dapper
    • a Large-Scale Distributed Systems Tracing Infrastructure
  • APM - application performance monitor

FAQ

Jaeger vs Zipkin

  • Jaeger
    • Golang, CNCF 项目
    • 更适用于 Kubernates 环境
    • 分为 agent、collector、query 等角色
    • 默认 0.1% 采样
  • Zipkin
    • Java
    • 在容器化潮流前便已存在
    • 单服务,报表、采集
    • Spring Cloud Sleuth 有集成

jaeger jaeger architecture

zipkin zipkin architecture