diff options
author | Ivan Topolnjak <ivantopo@gmail.com> | 2017-06-08 17:42:57 +0200 |
---|---|---|
committer | Ivan Topolnjak <ivantopo@gmail.com> | 2017-06-08 17:42:57 +0200 |
commit | 197e2ac405e7edb1628f9319091bc8de7429e4c0 (patch) | |
tree | b7ac8282fc3e906e693916ee1005580155fddd7a /kamon-core/src/main/scala/kamon/trace/SpanContextCodec.scala | |
parent | b2b43016b2b652ebcd686959048e3c5fe427e649 (diff) | |
download | Kamon-197e2ac405e7edb1628f9319091bc8de7429e4c0.tar.gz Kamon-197e2ac405e7edb1628f9319091bc8de7429e4c0.tar.bz2 Kamon-197e2ac405e7edb1628f9319091bc8de7429e4c0.zip |
fix typo on B3 header names for context propagation
Diffstat (limited to 'kamon-core/src/main/scala/kamon/trace/SpanContextCodec.scala')
-rw-r--r-- | kamon-core/src/main/scala/kamon/trace/SpanContextCodec.scala | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/kamon-core/src/main/scala/kamon/trace/SpanContextCodec.scala b/kamon-core/src/main/scala/kamon/trace/SpanContextCodec.scala index 1c3a1205..ee1c2661 100644 --- a/kamon-core/src/main/scala/kamon/trace/SpanContextCodec.scala +++ b/kamon-core/src/main/scala/kamon/trace/SpanContextCodec.scala @@ -26,11 +26,11 @@ object SpanContextCodec { ) val ZipkinB3: SpanContextCodec[TextMap] = new TextMapSpanCodec( - traceIDKey = "X─B3─TraceId", - parentIDKey = "X─B3─ParentSpanId", - spanIDKey = "X─B3─SpanId", - sampledKey = "X─B3─Sampled", - baggagePrefix = "X─B3─Baggage-", + traceIDKey = "X-B3-TraceId", + parentIDKey = "X-B3-ParentSpanId", + spanIDKey = "X-B3-SpanId", + sampledKey = "X-B3-Sampled", + baggagePrefix = "X-B3-Baggage-", baggageValueEncoder = urlEncode, baggageValueDecoder = urlDecode ) |