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