File: lightstep.proto

package info (click to toggle)
golang-github-lightstep-lightstep-tracer-common 1.1.0%2Bgit20210210.a8dfcb8-6
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 428 kB
  • sloc: makefile: 68
file content (22 lines) | stat: -rw-r--r-- 589 bytes parent folder | download | duplicates (4)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
syntax = "proto3";

package lightstep;

option go_package = "lightsteppb";

// The standard carrier for binary context propagation into LightStep.
message BinaryCarrier {
  // "text_ctx" was deprecated following lightstep-tracer-cpp-0.36
  repeated bytes deprecated_text_ctx = 1;

  // The Opentracing "basictracer" proto.
  BasicTracerCarrier basic_ctx = 2;
}

// Copy of https://github.com/opentracing/basictracer-go/blob/master/wire/wire.proto
message BasicTracerCarrier {
  fixed64 trace_id = 1;
  fixed64 span_id = 2;
  bool    sampled = 3;
  map<string, string> baggage_items = 4;
}