syntax = "proto3"; package envoy.config.trace.v3; import "udpa/annotations/migrate.proto"; import "udpa/annotations/status.proto"; import "udpa/annotations/versioning.proto"; import "validate/validate.proto"; option java_package = "io.envoyproxy.envoy.config.trace.v3"; option java_outer_classname = "LightstepProto"; option java_multiple_files = true; option (udpa.annotations.file_migrate).move_to_package = "envoy.extensions.tracers.lightstep.v4alpha"; option (udpa.annotations.file_status).package_version_status = ACTIVE; // [#protodoc-title: LightStep tracer] // Configuration for the LightStep tracer. // [#extension: envoy.tracers.lightstep] message LightstepConfig { option (udpa.annotations.versioning).previous_message_type = "envoy.config.trace.v2.LightstepConfig"; // Available propagation modes enum PropagationMode { // Propagate trace context in the single header x-ot-span-context. ENVOY = 0; // Propagate trace context using LightStep's native format. LIGHTSTEP = 1; // Propagate trace context using the b3 format. B3 = 2; // Propagation trace context using the w3 trace-context standard. TRACE_CONTEXT = 3; } // The cluster manager cluster that hosts the LightStep collectors. string collector_cluster = 1 [(validate.rules).string = {min_bytes: 1}]; // File containing the access token to the `LightStep // `_ API. string access_token_file = 2 [(validate.rules).string = {min_bytes: 1}]; // Propagation modes to use by LightStep's tracer. repeated PropagationMode propagation_modes = 3 [(validate.rules).repeated = {items {enum {defined_only: true}}}]; }