@ -5,6 +5,8 @@ package envoy.extensions.tracers.xray.v4alpha;
import "envoy/config/core/v4alpha/address.proto" ;
import "envoy/config/core/v4alpha/address.proto" ;
import "envoy/config/core/v4alpha/base.proto" ;
import "envoy/config/core/v4alpha/base.proto" ;
import "google/protobuf/struct.proto" ;
import "udpa/annotations/status.proto" ;
import "udpa/annotations/status.proto" ;
import "udpa/annotations/versioning.proto" ;
import "udpa/annotations/versioning.proto" ;
import "validate/validate.proto" ;
import "validate/validate.proto" ;
@ -20,6 +22,18 @@ option (udpa.annotations.file_status).package_version_status = NEXT_MAJOR_VERSIO
message XRayConfig {
message XRayConfig {
option ( udpa.annotations.versioning ) . previous_message_type = "envoy.config.trace.v3.XRayConfig" ;
option ( udpa.annotations.versioning ) . previous_message_type = "envoy.config.trace.v3.XRayConfig" ;
message SegmentFields {
option ( udpa.annotations.versioning ) . previous_message_type =
"envoy.config.trace.v3.XRayConfig.SegmentFields" ;
/ / The type of AWS resource , e.g. "AWS::AppMesh::Proxy" .
string origin = 1 ;
/ / AWS resource metadata dictionary.
/ / See : ` X - Ray Segment Document documentation < https : / / docs.aws.amazon.com / xray / latest / devguide / xray - api - segmentdocuments.html # api - segmentdocuments - aws > ` __
google.protobuf.Struct aws = 2 ;
}
/ / The UDP endpoint of the X - Ray Daemon where the spans will be sent.
/ / The UDP endpoint of the X - Ray Daemon where the spans will be sent.
/ / If this value is not set , the default value of 127.0 .0 .1 : 2000 will be used.
/ / If this value is not set , the default value of 127.0 .0 .1 : 2000 will be used.
config.core.v4alpha.SocketAddress daemon_endpoint = 1 ;
config.core.v4alpha.SocketAddress daemon_endpoint = 1 ;
@ -32,4 +46,9 @@ message XRayConfig {
/ / ` X - Ray SDK documentation
/ / ` X - Ray SDK documentation
/ / < https : / / docs.aws.amazon.com / xray / latest / devguide / xray - sdk - go - configuration.html # xray - sdk - go - configuration - sampling > ` _
/ / < https : / / docs.aws.amazon.com / xray / latest / devguide / xray - sdk - go - configuration.html # xray - sdk - go - configuration - sampling > ` _
config.core.v4alpha.DataSource sampling_rule_manifest = 3 ;
config.core.v4alpha.DataSource sampling_rule_manifest = 3 ;
/ / Optional custom fields to be added to each trace segment.
/ / see : ` X - Ray Segment Document documentation
/ / < https : / / docs.aws.amazon.com / xray / latest / devguide / xray - api - segmentdocuments.html > ` __
SegmentFields segment_fields = 4 ;
}
}