Skip to content
This repository has been archived by the owner on Mar 19, 2022. It is now read-only.

Commit

Permalink
What value should be exactly used here?
Browse files Browse the repository at this point in the history
  • Loading branch information
Leonard Shi committed Aug 23, 2017
1 parent 7827845 commit ad3ce5b
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion packages/zipkin-instrumentation-grpc/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "zipkin-instrumentation-grpc",
"version": "0.0.1",
"version": "0.0.6",
"description": "Interceptor for instrumenting GRPC calls.",
"main": "lib/index.js",
"scripts": {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ class ZipkinGrpcInterceptor {
this.traceId = this.tracer.id;

metadata.add('X-B3-TraceId', this.tracer.id.traceId);
metadata.add('X-B3-ParentSpanId', this.tracer.id.spanId);
metadata.add('X-B3-ParentSpanId', this.tracer.id.parentId);
metadata.add('X-B3-SpanId', this.tracer.id.spanId);
metadata.add('X-B3-Sampled', this.tracer.id.sampled.getOrElse() ? '1' : '0');

Expand Down

0 comments on commit ad3ce5b

Please sign in to comment.