You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
57 lines
1.9 KiB
57 lines
1.9 KiB
syntax = "proto3"; |
|
|
|
package envoy.config.trace.v3; |
|
|
|
import "envoy/config/core/v3/base.proto"; |
|
|
|
import "envoy/annotations/deprecation.proto"; |
|
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_len: 1}]; |
|
|
|
// File containing the access token to the `LightStep |
|
// <https://lightstep.com/>`_ API. |
|
string access_token_file = 2 |
|
[deprecated = true, (envoy.annotations.deprecated_at_minor_version) = "3.0"]; |
|
|
|
// Access token to the `LightStep <https://lightstep.com/>`_ API. |
|
core.v3.DataSource access_token = 4; |
|
|
|
// Propagation modes to use by LightStep's tracer. |
|
repeated PropagationMode propagation_modes = 3 |
|
[(validate.rules).repeated = {items {enum {defined_only: true}}}]; |
|
}
|
|
|