추적 호환성 구성 요소를 위한 시맨틱 컨벤션
Status: Development
출처: 문서
본문
Status: Development
이 문서는 호환성 구성 요소(예: OpenTracing Shim 레이어)에서 사용하는 추적(trace) 시맨틱 컨벤션을 정의해요.
- OpenTracing
OpenTracing
OpenTracing Shim이 만든 Link 는 반드시 opentracing.ref_type 을
허용된 값 중 하나로 설정해야 해요. 이 값은 OpenTracing이 정의한 대로
하위 Span(자식)과 상위 Span(부모) 사이의 직접적인 인과 관계를 설명해요.
속성:
| | Key | Stability | Requirement Level | Value Type | Description | Example Values
| opentracing.ref_type | | Recommended | string | Parent-child Reference type [1] | child_of; follows_from
[1] opentracing.ref_type: The causal relationship between a child Span and a parent Span.
opentracing.ref_type 는 다음과 같은 잘 알려진 값 목록을 가져요. 그중 하나가 해당된다면 해당 값을 반드시 사용해야 하고, 그렇지 않다면 사용자 정의 값을 사용해도 돼요.
|
| Value | Description | Stability
| child_of | The parent Span depends on the child Span in some capacity |
| follows_from | The parent Span doesn’t depend in any way on the result of the child Span |