Skip to content

Commit

Permalink
Add translation of InstrumentationLibraryInfo to Zipkin (#800)
Browse files Browse the repository at this point in the history
* Add translation of InstrumentationLibraryInfo to Zipkin

* Update specification/trace/sdk_exporters/zipkin.md

Co-authored-by: Tigran Najaryan <[email protected]>

* Fix case

* Rename InstrumentationLibraryInfo to InstrumentationLibrary

Co-authored-by: Tigran Najaryan <[email protected]>
  • Loading branch information
iNikem and tigrannajaryan authored Aug 17, 2020
1 parent 6cb41cc commit 1af9464
Showing 1 changed file with 10 additions and 1 deletion.
11 changes: 10 additions & 1 deletion specification/trace/sdk_exporters/zipkin.md
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,16 @@ Zipkin.
| `SpanKind.SERVER`|`SpanKind.SERVER`||
| `SpanKind.CONSUMER`|`SpanKind.CONSUMER`||
| `SpanKind.PRODUCER`|`SpanKind.PRODUCER` ||
|`SpanKind.INTERNAL`|`null` |must be omitted (set to `null`)|
| `SpanKind.INTERNAL`|`null` |must be omitted (set to `null`)|

### InstrumentationLibrary

OpenTelemetry Span's `InstrumentationLibrary` MUST be reported as `tags` to Zipkin using the following mapping.

| OpenTelemetry | Zipkin
| ------------- | ------ |
| `InstrumentationLibrary.name`|`otel.instrumentation_library.name`|
| `InstrumentationLibrary.version`|`otel.instrumentation_library.version`|

### Attribute

Expand Down

0 comments on commit 1af9464

Please sign in to comment.