X-Ray Read & Write Apis

Some of the API for X-Ray

For write

"Effect": "Allow",
"Action": [
	"xray:PutTraceSegments", // upload segment documents to Xray
	"xray:PutTelemetryRecords", // used by daemon to upload telemetry (SegmentReceivedCount, SegmentRejectedCounts, ...)
	"xray:GetSamplingRules", // retrieve all sampling rules to know what to send
	"xray:GetSamplingTargets", // advanced
	"xray:GetSamplingStatisticSummaries" // advanced
]

For read

"Effect": "Allow",
"Action": [
	"xray:GetSamplingRules",
	"xray:GetSamplingTargets",
	"xray:GetSamplingStatisticSummaries",
	"xray:BatchGetTraces", // retrieve list of traces specified by ID. Each trace is a collection of segment documents originated from single request
	"xray:GetServiceGraph", // main graph
	"xray:GetTraceGraph", // retrieve a service graph for one or more specific trace Ids
	"xray:GetTraceSummaries", // retrieve IDs and annotations for traces available for a specified time frame using optional filter. To get full traces, pass trace ID to BatchGetTraces
	"xray:GetGroups",
	"xray:GetGroup",
	"xray:GetTimeSeriesServiceStatistics",
]