AWS X-Ray Tracer Configuration

Configuration for AWS X-Ray tracer

config.trace.v3.XRayConfig

[config.trace.v3.XRayConfig proto]

  1. {
  2. "daemon_endpoint": "{...}",
  3. "segment_name": "...",
  4. "sampling_rule_manifest": "{...}"
  5. }

daemon_endpoint

(config.core.v3.SocketAddress) 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.

segment_name

(string) The name of the X-Ray segment.

sampling_rule_manifest

(config.core.v3.DataSource) The location of a local custom sampling rules JSON file. For an example of the sampling rules see: X-Ray SDK documentation