...

Text file src/github.com/datawire/ambassador/v2/api/envoy/config/trace/v2alpha/xray.proto

Documentation: github.com/datawire/ambassador/v2/api/envoy/config/trace/v2alpha

     1syntax = "proto3";
     2
     3package envoy.config.trace.v2alpha;
     4
     5import "envoy/api/v2/core/address.proto";
     6import "envoy/api/v2/core/base.proto";
     7
     8import "udpa/annotations/status.proto";
     9import "validate/validate.proto";
    10
    11option java_package = "io.envoyproxy.envoy.config.trace.v2alpha";
    12option java_outer_classname = "XrayProto";
    13option java_multiple_files = true;
    14option (udpa.annotations.file_status).package_version_status = FROZEN;
    15
    16// [#protodoc-title: AWS X-Ray Tracer Configuration]
    17// Configuration for AWS X-Ray tracer
    18
    19message XRayConfig {
    20  // The UDP endpoint of the X-Ray Daemon where the spans will be sent.
    21  // If this value is not set, the default value of 127.0.0.1:2000 will be used.
    22  api.v2.core.SocketAddress daemon_endpoint = 1;
    23
    24  // The name of the X-Ray segment.
    25  string segment_name = 2 [(validate.rules).string = {min_len: 1}];
    26
    27  // The location of a local custom sampling rules JSON file.
    28  // For an example of the sampling rules see:
    29  // `X-Ray SDK documentation
    30  // <https://docs.aws.amazon.com/xray/latest/devguide/xray-sdk-go-configuration.html#xray-sdk-go-configuration-sampling>`_
    31  api.v2.core.DataSource sampling_rule_manifest = 3;
    32}

View as plain text