Expand description
Data structures used by operation inputs/outputs.
Modules§
Structs§
- Alias
An alias for an edge.
- Anomalous
Service The service within the service graph that has anomalously high fault rates.
- Availability
Zone Detail A list of Availability Zones corresponding to the segments in a trace.
- Backend
Connection Errors - Edge
Information about a connection between two services. An edge can be a synchronous connection, such as typical call between client and service, or an asynchronous link, such as a Lambda function which retrieves an event from an SNS queue.
- Edge
Statistics Response statistics for an edge.
- Encryption
Config A configuration document that specifies encryption configuration settings.
- Error
Root Cause The root cause of a trace summary error.
- Error
Root Cause Entity A collection of segments and corresponding subsegments associated to a trace summary error.
- Error
Root Cause Service A collection of fields identifying the services in a trace summary error.
- Error
Statistics Information about requests that failed with a 4xx Client Error status code.
- Fault
Root Cause The root cause information for a trace summary fault.
- Fault
Root Cause Entity A collection of segments and corresponding subsegments associated to a trace summary fault error.
- Fault
Root Cause Service A collection of fields identifying the services in a trace summary fault.
- Fault
Statistics Information about requests that failed with a 5xx Server Error status code.
- Forecast
Statistics The predicted high and low fault count. This is used to determine if a service has become anomalous and if an insight should be created.
- Graph
Link The relation between two services.
- Group
Details and metadata for a group.
- Group
Summary Details for a group without metadata.
- Histogram
Entry An entry in a histogram for a statistic. A histogram maps the range of observed values on the X axis, and the prevalence of each value on the Y axis.
- Http
Information about an HTTP request.
- Indexing
Rule Rule used to determine the server-side sampling rate for spans ingested through the CloudWatchLogs destination and indexed by X-Ray.
- Insight
When fault rates go outside of the expected range, X-Ray creates an insight. Insights tracks emergent issues within your applications.
- Insight
Event X-Ray reevaluates insights periodically until they are resolved, and records each intermediate state in an event. You can review incident events in the Impact Timeline on the Inspect page in the X-Ray console.
- Insight
Impact Graph Edge The connection between two service in an insight impact graph.
- Insight
Impact Graph Service Information about an application that processed requests, users that made requests, or downstream services, resources, and applications that an application used.
- Insight
Summary Information that describes an insight.
- Insights
Configuration The structure containing configurations related to insights.
- Instance
IdDetail A list of EC2 instance IDs corresponding to the segments in a trace.
- Probabilistic
Rule Value The indexing rule configuration for probabilistic sampling.
- Probabilistic
Rule Value Update Update to the indexing rule configuration for probabilistic sampling.
- Request
Impact Statistics Statistics that describe how the incident has impacted a service.
- Resource
ArnDetail A list of resources ARNs corresponding to the segments in a trace.
- Resource
Policy A resource policy grants one or more Amazon Web Services services and accounts permissions to access X-Ray. Each resource policy is associated with a specific Amazon Web Services account.
- Response
Time Root Cause The root cause information for a response time warning.
- Response
Time Root Cause Entity A collection of segments and corresponding subsegments associated to a response time warning.
- Response
Time Root Cause Service A collection of fields identifying the service in a response time warning.
- Retrieved
Service Retrieved information about an application that processed requests, users that made requests, or downstream services, resources, and applications that an application used.
- Retrieved
Trace Retrieved collection of spans with matching trace IDs.
- Root
Cause Exception The exception associated with a root cause.
- Sampling
Boost Temporary boost sampling rate. X-Ray calculates sampling boost for each service based on the recent sampling boost stats of all services that called GetSamplingTargets.
- Sampling
Boost Statistics Document Request anomaly stats for a single rule from a service. Results are for the last 10 seconds unless the service has been assigned a longer reporting interval after a previous call to GetSamplingTargets.
- Sampling
Rate Boost Enable temporary sampling rate increases when you detect anomalies to improve visibility.
- Sampling
Rule A sampling rule that services use to decide whether to instrument a request. Rule fields can match properties of the service, or properties of a request. The service can ignore rules that don't match its properties.
- Sampling
Rule Record A SamplingRule and its metadata.
- Sampling
Rule Update A document specifying changes to a sampling rule's configuration.
- Sampling
Statistic Summary Aggregated request sampling data for a sampling rule across all services for a 10-second window.
- Sampling
Statistics Document Request sampling results for a single rule from a service. Results are for the last 10 seconds unless the service has been assigned a longer reporting interval after a previous call to GetSamplingTargets.
- Sampling
Strategy The name and value of a sampling rule to apply to a trace summary.
- Sampling
Target Document Temporary changes to a sampling rule configuration. To meet the global sampling target for a rule, X-Ray calculates a new reservoir for each service based on the recent sampling results of all services that called GetSamplingTargets.
- Segment
A segment from a trace that has been ingested by the X-Ray service. The segment can be compiled from documents uploaded with PutTraceSegments, or an
inferred
segment for a downstream service, generated from a subsegment sent by the service that called it.For the full segment document schema, see Amazon Web Services X-Ray segment documents in the Amazon Web Services X-Ray Developer Guide.
- Service
Information about an application that processed requests, users that made requests, or downstream services, resources, and applications that an application used.
- Service
Id - Service
Statistics Response statistics for a service.
- Span
A span from a trace that has been ingested by the X-Ray service. A span represents a unit of work or an operation performed by a service.
- Tag
A map that contains tag keys and tag values to attach to an Amazon Web Services X-Ray group or sampling rule. For more information about ways to use tags, see Tagging Amazon Web Services resources in the Amazon Web Services General Reference.
The following restrictions apply to tags:
-
Maximum number of user-applied tags per resource: 50
-
Tag keys and values are case sensitive.
-
Don't use
aws:
as a prefix for keys; it's reserved for Amazon Web Services use. You cannot edit or delete system tags.
-
- Telemetry
Record - Time
Series Service Statistics A list of TimeSeriesStatistic structures.
- Trace
A collection of segment documents with matching trace IDs.
- Trace
Summary Metadata generated from the segment documents in a trace.
- Trace
User Information about a user recorded in segment documents.
- Unprocessed
Statistics Sampling statistics from a call to GetSamplingTargets that X-Ray could not process.
- Unprocessed
Trace Segment Information about a segment that failed processing.
- Value
With Service Ids Information about a segment annotation.
Enums§
- Annotation
Value Value of a segment annotation. Has one of three value types: Number, Boolean, or String.
- Encryption
Status - When writing a match expression against
EncryptionStatus
, it is important to ensure your code is forward-compatible. That is, if a match arm handles a case for a feature that is supported by the service but has not been represented as an enum variant in a current version of SDK, your code should continue to work when you upgrade SDK to a future version in which the enum does include a variant for that feature. - Encryption
Type - When writing a match expression against
EncryptionType
, it is important to ensure your code is forward-compatible. That is, if a match arm handles a case for a feature that is supported by the service but has not been represented as an enum variant in a current version of SDK, your code should continue to work when you upgrade SDK to a future version in which the enum does include a variant for that feature. - Indexing
Rule Value The indexing rule configuration.
- Indexing
Rule Value Update Update to an indexing rule.
- Insight
Category - When writing a match expression against
InsightCategory
, it is important to ensure your code is forward-compatible. That is, if a match arm handles a case for a feature that is supported by the service but has not been represented as an enum variant in a current version of SDK, your code should continue to work when you upgrade SDK to a future version in which the enum does include a variant for that feature. - Insight
State - When writing a match expression against
InsightState
, it is important to ensure your code is forward-compatible. That is, if a match arm handles a case for a feature that is supported by the service but has not been represented as an enum variant in a current version of SDK, your code should continue to work when you upgrade SDK to a future version in which the enum does include a variant for that feature. - Retrieval
Status - When writing a match expression against
RetrievalStatus
, it is important to ensure your code is forward-compatible. That is, if a match arm handles a case for a feature that is supported by the service but has not been represented as an enum variant in a current version of SDK, your code should continue to work when you upgrade SDK to a future version in which the enum does include a variant for that feature. - Sampling
Strategy Name - When writing a match expression against
SamplingStrategyName
, it is important to ensure your code is forward-compatible. That is, if a match arm handles a case for a feature that is supported by the service but has not been represented as an enum variant in a current version of SDK, your code should continue to work when you upgrade SDK to a future version in which the enum does include a variant for that feature. - Time
Range Type - When writing a match expression against
TimeRangeType
, it is important to ensure your code is forward-compatible. That is, if a match arm handles a case for a feature that is supported by the service but has not been represented as an enum variant in a current version of SDK, your code should continue to work when you upgrade SDK to a future version in which the enum does include a variant for that feature. - Trace
Format Type - When writing a match expression against
TraceFormatType
, it is important to ensure your code is forward-compatible. That is, if a match arm handles a case for a feature that is supported by the service but has not been represented as an enum variant in a current version of SDK, your code should continue to work when you upgrade SDK to a future version in which the enum does include a variant for that feature. - Trace
Segment Destination - When writing a match expression against
TraceSegmentDestination
, it is important to ensure your code is forward-compatible. That is, if a match arm handles a case for a feature that is supported by the service but has not been represented as an enum variant in a current version of SDK, your code should continue to work when you upgrade SDK to a future version in which the enum does include a variant for that feature. - Trace
Segment Destination Status - When writing a match expression against
TraceSegmentDestinationStatus
, it is important to ensure your code is forward-compatible. That is, if a match arm handles a case for a feature that is supported by the service but has not been represented as an enum variant in a current version of SDK, your code should continue to work when you upgrade SDK to a future version in which the enum does include a variant for that feature.