Skip to content
This repository was archived by the owner on Nov 4, 2025. It is now read-only.

Commit 98504a1

Browse files
Minor clean ups (#8)
* fixed two small bugs * few more formatting things
1 parent 571cafa commit 98504a1

File tree

6 files changed

+26
-15
lines changed

6 files changed

+26
-15
lines changed

.vscode/settings.json

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
{
2+
"rewrap.wrappingColumn": [80],
3+
"editor.rulers": [80],
4+
"markdownlint.config": {
5+
"MD013": true
6+
},
7+
}

LICENSE.md

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
1-
All Reports in this Repository are licensed by contributors
2-
under the
1+
All Reports in this Repository are licensed by contributors under the
32
[W3C Software and Document License](https://www.w3.org/Consortium/Legal/copyright-software).
43

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

README.md

Lines changed: 13 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,23 +1,30 @@
1-
[![Build Status](https://img.shields.io/travis/w3c/trace-context-binary/master.svg?label=validation%20service)](./test/)
1+
[![Build Status](https://img.shields.io/travis/w3c/trace-context-binary/master.svg?label=validation%20service)](https://travis-ci.com/w3c/trace-context-binary)
22

33
# Trace Context: binary protocol Specification
44

5-
This repository is associated with the [Trace Context: binary protocol](https://w3c.github.io/trace-context-binary/) specification.
5+
This repository is associated with the [Trace Context: binary
6+
protocol](https://w3c.github.io/trace-context-binary/) specification.
7+
8+
See the [Trace Context Protocols
9+
Registry](https://www.w3.org/TR/trace-context-protocols-registry/) for the list
10+
of all protocols.
611

712
Specification for distributed tracing context propagation format:
813

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

1521
## Team Communication
1622

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

19-
We appreciate feedback and contributions. Please make sure to read rationale documents when you have a question about particular
20-
decision made in specification.
25+
We appreciate feedback and contributions. Please make sure to read rationale
26+
documents when you have a question about particular decision made in
27+
specification.
2128

2229
## Goal
2330

index.html

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,6 @@
3838
wg: "Distributed Tracing Working Group",
3939
wgPublicList: "public-trace-context",
4040
wgURI: "https://www.w3.org/2018/distributed-tracing/",
41-
//isPreview: true, //this will add ugly box saying it's preview
4241
otherLinks: [{
4342
key: 'Discussions',
4443
data: [{

spec/20-binary-format.md

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -39,8 +39,7 @@ Implementation MUST serialize fields into the field ordering sequence.
3939
In other words, `trace-id` field should be serialized first, `parent-id`
4040
second and `trace-flags` - third.
4141

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

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

7473
## `tracestate` binary format
7574

0 commit comments

Comments
 (0)