...
1syntax = "proto3";
2
3package envoy.extensions.tracers.lightstep.v4alpha;
4
5import "udpa/annotations/status.proto";
6import "udpa/annotations/versioning.proto";
7import "validate/validate.proto";
8
9option java_package = "io.envoyproxy.envoy.extensions.tracers.lightstep.v4alpha";
10option java_outer_classname = "LightstepProto";
11option java_multiple_files = true;
12option (udpa.annotations.file_status).package_version_status = NEXT_MAJOR_VERSION_CANDIDATE;
13
14// [#protodoc-title: LightStep tracer]
15
16// Configuration for the LightStep tracer.
17// [#extension: envoy.tracers.lightstep]
18message LightstepConfig {
19 option (udpa.annotations.versioning).previous_message_type =
20 "envoy.config.trace.v3.LightstepConfig";
21
22 // Available propagation modes
23 enum PropagationMode {
24 // Propagate trace context in the single header x-ot-span-context.
25 ENVOY = 0;
26
27 // Propagate trace context using LightStep's native format.
28 LIGHTSTEP = 1;
29
30 // Propagate trace context using the b3 format.
31 B3 = 2;
32
33 // Propagation trace context using the w3 trace-context standard.
34 TRACE_CONTEXT = 3;
35 }
36
37 // The cluster manager cluster that hosts the LightStep collectors.
38 string collector_cluster = 1 [(validate.rules).string = {min_len: 1}];
39
40 // File containing the access token to the `LightStep
41 // <https://lightstep.com/>`_ API.
42 string access_token_file = 2 [(validate.rules).string = {min_len: 1}];
43
44 // Propagation modes to use by LightStep's tracer.
45 repeated PropagationMode propagation_modes = 3
46 [(validate.rules).repeated = {items {enum {defined_only: true}}}];
47}
View as plain text