OhMySkills
监控与告警 distributed-tracing 更新于 2026-09-28

Distributed Tracing 工程规则

Tracing rules: propagator consistency and cardinality-safe span names

技术栈
Distributed Tracing
主题
工程基线
条目
9 条
版本
v0.2.0

✓ 应当这么做

  • ✓ Emit structured logs with correlation ids connecting request, job and outbound call
  • ✓ Use histogram metrics for latency and counters for outcomes
  • ✓ Alert on symptoms (error rate, saturation) rather than causes

✕ 常见反模式

  • ✕ Logging secrets, tokens or full personal payloads
  • ✕ Cardinality bombs in metric labels (user ids, raw paths)
  • ✕ Dashboards without an owner or documented decision threshold

◎ 交付前验证

  • ◎ The new code path is visible in logs end-to-end
  • ◎ Dashboard panel added or updated to match the new metric
  • ◎ Alert routing tested once end-to-end

同分类条目

9 篇

同一技术栈的其他条目