[READ ONLY MIRROR] Envoy REST/proto API definitions and documentation. (grpc依赖)
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.
 
 
 
 
 

54 lines
2.1 KiB

syntax = "proto3";
package envoy.extensions.tracers.xray.v4alpha;
import "envoy/config/core/v4alpha/address.proto";
import "envoy/config/core/v4alpha/base.proto";
import "google/protobuf/struct.proto";
import "udpa/annotations/status.proto";
import "udpa/annotations/versioning.proto";
import "validate/validate.proto";
option java_package = "io.envoyproxy.envoy.extensions.tracers.xray.v4alpha";
option java_outer_classname = "XrayProto";
option java_multiple_files = true;
option (udpa.annotations.file_status).package_version_status = NEXT_MAJOR_VERSION_CANDIDATE;
// [#protodoc-title: AWS X-Ray Tracer Configuration]
// Configuration for AWS X-Ray tracer
message 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.
// 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;
// The name of the X-Ray segment.
string segment_name = 2 [(validate.rules).string = {min_len: 1}];
// The location of a local custom sampling rules JSON file.
// For an example of the sampling rules see:
// `X-Ray SDK documentation
// <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;
// 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;
}