-
Notifications
You must be signed in to change notification settings - Fork 887
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add opentracing.ref_type semantic convention. (#2297)
- Loading branch information
1 parent
cb2e71e
commit b024a66
Showing
5 changed files
with
62 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
groups: | ||
- id: opentracing | ||
prefix: opentracing | ||
brief: 'This document defines semantic conventions for the OpenTracing Shim' | ||
note: > | ||
These conventions are used by the OpenTracing Shim layer. | ||
attributes: | ||
- id: ref_type | ||
brief: 'Parent-child Reference type' | ||
note: > | ||
The causal relationship between a child Span and a parent Span. | ||
type: | ||
allow_custom_values: false | ||
members: | ||
- id: child_of | ||
value: 'child_of' | ||
brief: 'The parent Span depends on the child Span in some capacity' | ||
- id: follows_from | ||
value: 'follows_from' | ||
brief: 'The parent Span does not depend in any way on the result of the child Span' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,36 @@ | ||
# Semantic conventions for Compatibility components | ||
|
||
**Status**: [Experimental](../../document-status.md) | ||
|
||
This document defines trace semantic conventions used by the | ||
compatibility components, e.g. OpenTracing Shim layer. | ||
|
||
<!-- Re-generate TOC with `markdown-toc --no-first-h1 -i` --> | ||
|
||
<!-- toc --> | ||
|
||
- [OpenTracing](#opentracing) | ||
|
||
<!-- tocstop --> | ||
|
||
## OpenTracing | ||
|
||
`Link`s created by the OpenTracing Shim MUST set `opentracing.ref_type` | ||
with one of the accepted values, describing the direct causal relationships | ||
between a child Span and a parent Span, as defined by | ||
[OpenTracing](https://github.com/opentracing/specification/blob/master/specification.md). | ||
|
||
<!-- semconv opentracing --> | ||
| Attribute | Type | Description | Examples | Required | | ||
|---|---|---|---|---| | ||
| `opentracing.ref_type` | string | Parent-child Reference type [1] | `child_of` | No | | ||
|
||
**[1]:** The causal relationship between a child Span and a parent Span. | ||
|
||
`opentracing.ref_type` MUST be one of the following: | ||
|
||
| Value | Description | | ||
|---|---| | ||
| `child_of` | The parent Span depends on the child Span in some capacity | | ||
| `follows_from` | The parent Span does not depend in any way on the result of the child Span | | ||
<!-- endsemconv --> |