Skip to content
This repository was archived by the owner on Jul 31, 2023. It is now read-only.

Commit 3897ba1

Browse files
haulethtsloughter
authored andcommitted
fix: use header name matching trace state specs (#114)
However it seems that current implementation does slightly different thing than the [specification][1]. [1]: https://github.com/w3c/trace-context/blob/master/spec/20-HTTP_HEADER_FORMAT.md#tracestate-field
1 parent a639371 commit 3897ba1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/oc_tag_ctx_header.erl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@
2525
-include("opencensus.hrl").
2626

2727
field_name() ->
28-
<<"Trace-State">>.
28+
<<"tracestate">>.
2929

3030
-spec encode(oc_tags:tags()) -> maybe(iodata()).
3131
encode(Tags) when map_size(Tags) =:= 0 ->

0 commit comments

Comments
 (0)