xray.proto 1.2 KB

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