Skip to content
This repository was archived by the owner on Nov 4, 2025. It is now read-only.
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 7 additions & 0 deletions .vscode/settings.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
{
"rewrap.wrappingColumn": [80],
"editor.rulers": [80],
"markdownlint.config": {
"MD013": true
},
}
9 changes: 4 additions & 5 deletions LICENSE.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
All Reports in this Repository are licensed by contributors
under the
All Reports in this Repository are licensed by contributors under the
[W3C Software and Document License](https://www.w3.org/Consortium/Legal/copyright-software).

All tests in this Repository are licensed by contributors to be distributed under the
[W3C 3-clause BSD License](https://www.w3.org/Consortium/Legal/2008/03-bsd-license.html).

All tests in this Repository are licensed by contributors to be distributed
under the [W3C 3-clause BSD
License](https://www.w3.org/Consortium/Legal/2008/03-bsd-license.html).
File renamed without changes.
19 changes: 13 additions & 6 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,23 +1,30 @@
[![Build Status](https://img.shields.io/travis/w3c/trace-context-binary/master.svg?label=validation%20service)](./test/)
[![Build Status](https://img.shields.io/travis/w3c/trace-context-binary/master.svg?label=validation%20service)](https://travis-ci.com/w3c/trace-context-binary)

# Trace Context: binary protocol Specification

This repository is associated with the [Trace Context: binary protocol](https://w3c.github.io/trace-context-binary/) specification.
This repository is associated with the [Trace Context: binary
protocol](https://w3c.github.io/trace-context-binary/) specification.

See the [Trace Context Protocols
Registry](https://www.w3.org/TR/trace-context-protocols-registry/) for the list
of all protocols.

Specification for distributed tracing context propagation format:

- Trace Context: binary protocol
[Report](https://w3c.github.io/trace-context-binary/).
Status: Editor's draft.
- Changes are tracked on GitHub, communicated in meetings and e-mails
distribution list.
- Changes are tracked on GitHub, communicated in meetings and e-mails
distribution list.
- See [RATIONALE](RATIONALE.md) for considerations of the format.

## Team Communication

See [communication](https://github.com/w3c/distributed-tracing-wg#team-communication)

We appreciate feedback and contributions. Please make sure to read rationale documents when you have a question about particular
decision made in specification.
We appreciate feedback and contributions. Please make sure to read rationale
documents when you have a question about particular decision made in
specification.

## Goal

Expand Down
1 change: 0 additions & 1 deletion index.html
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,6 @@
wg: "Distributed Tracing Working Group",
wgPublicList: "public-trace-context",
wgURI: "https://www.w3.org/2018/distributed-tracing/",
//isPreview: true, //this will add ugly box saying it's preview
otherLinks: [{
key: 'Discussions',
data: [{
Expand Down
5 changes: 2 additions & 3 deletions spec/20-binary-format.md
Original file line number Diff line number Diff line change
Expand Up @@ -39,8 +39,7 @@ Implementation MUST serialize fields into the field ordering sequence.
In other words, `trace-id` field should be serialized first, `parent-id`
second and `trace-flags` - third.

Field identifiers should be treated as unsigned byte numbers and should be
encoded in big-endian bit order.
Field identifiers should be treated as unsigned bytes.

Fields `trace-id` and `parent-id` are defined as a byte arrays, NOT a
long numbers. First element of an array MUST be copied first. When array is
Expand Down Expand Up @@ -69,7 +68,7 @@ This corresponds to:
`{75, 249, 47, 53, 119, 179, 77, 166, 163, 206, 146, 157, 0, 14, 71, 54}` or
`4bf92f3577b34da6a3ce929d000e4736`.
- `parent-id` is `{52, 240, 103, 170, 11, 169, 2, 183}` or `34f067aa0ba902b7`.
- `trace-flags` is `1` with the meaning `recorded` is true.
- `trace-flags` is `1` with the meaning `sampled` flag is set.

## `tracestate` binary format

Expand Down