sofa tracer介绍

介绍

The OpenTracing Semantic Specification

只读了The OpenTracing Semantic Specification部分,比较短简单介绍了其中几个核心的概念:data model、trace、SpanContext、span、span之间的reference、baggage、api需要实现的相关功能(没有规定实现的接口),还有个特殊的NoopTracer。

Trace

Span

Span Context

baggage

Span Reference

NoopTracer

All OpenTracing language APIs must also provide some sort of NoopTracer implementation which can be used to flag-control OpenTracing or inject something harmless for tests (et cetera). In some cases (for example, Java) the NoopTracer may be in its own packaging artifact.

Table of Contents