|
336 | 336 | {"shape":"InvalidRequestException"}, |
337 | 337 | {"shape":"ThrottledException"} |
338 | 338 | ], |
339 | | - "documentation":"<p> Retrieves the current destination of data sent to <code>PutTraceSegments</code> and <i>OpenTelemetry</i> API. The Transaction Search feature requires a CloudWatchLogs destination. For more information, see <a href=\"https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/CloudWatch-Transaction-Search.html\">Transaction Search</a> and <a href=\"https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/CloudWatch-OpenTelemetry-Sections.html\">OpenTelemetry</a>. </p>" |
| 339 | + "documentation":"<p> Retrieves the current destination of data sent to <code>PutTraceSegments</code> and <i>OpenTelemetry protocol (OTLP)</i> endpoint. The Transaction Search feature requires a CloudWatchLogs destination. For more information, see <a href=\"https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/CloudWatch-Transaction-Search.html\">Transaction Search</a> and <a href=\"https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/CloudWatch-OpenTelemetry-Sections.html\">OpenTelemetry</a>. </p>" |
340 | 340 | }, |
341 | 341 | "GetTraceSummaries":{ |
342 | 342 | "name":"GetTraceSummaries", |
|
379 | 379 | {"shape":"ThrottledException"}, |
380 | 380 | {"shape":"ResourceNotFoundException"} |
381 | 381 | ], |
382 | | - "documentation":"<p> Retrieves a list of traces for a given <code>RetrievalToken</code> from the CloudWatch log group generated by Transaction Search. For information on what each trace returns, see <a href=\"https://docs.aws.amazon.com/xray/latest/api/API_BatchGetTraces.html\">BatchGetTraces</a>. </p> <p>This API does not initiate a retrieval job. To start a trace retrieval, use <code>StartTraceRetrieval</code>, which generates the required <code>RetrievalToken</code>.</p> <p> When the <code>RetrievalStatus</code> is not <i>COMPLETE</i>, the API will return an empty response. Retry the request once the retrieval has completed to access the full list of traces.</p> <p>For cross-account observability, this API can retrieve traces from linked accounts when CloudWatch log is the destination across relevant accounts. For more details, see <a href=\"https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/CloudWatch-Unified-Cross-Account.html\">CloudWatch cross-account observability</a>.</p> <p>For retrieving data from X-Ray directly as opposed to the Transaction-Search Log group, see <a href=\"https://docs.aws.amazon.com/xray/latest/api/API_BatchGetTraces.html\">BatchGetTraces</a>.</p>" |
| 382 | + "documentation":"<p> Retrieves a list of traces for a given <code>RetrievalToken</code> from the CloudWatch log group generated by Transaction Search. For information on what each trace returns, see <a href=\"https://docs.aws.amazon.com/xray/latest/api/API_BatchGetTraces.html\">BatchGetTraces</a>. </p> <p>This API does not initiate a retrieval process. To start a trace retrieval, use <code>StartTraceRetrieval</code>, which generates the required <code>RetrievalToken</code>.</p> <p> When the <code>RetrievalStatus</code> is not <i>COMPLETE</i>, the API will return an empty response. Retry the request once the retrieval has completed to access the full list of traces.</p> <p>For cross-account observability, this API can retrieve traces from linked accounts when CloudWatch log is set as the destination across relevant accounts. For more details, see <a href=\"https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/CloudWatch-Unified-Cross-Account.html\">CloudWatch cross-account observability</a>.</p> <p>For retrieving data from X-Ray directly as opposed to the Transaction Search generated log group, see <a href=\"https://docs.aws.amazon.com/xray/latest/api/API_BatchGetTraces.html\">BatchGetTraces</a>.</p>" |
383 | 383 | }, |
384 | 384 | "ListTagsForResource":{ |
385 | 385 | "name":"ListTagsForResource", |
|
469 | 469 | {"shape":"ThrottledException"}, |
470 | 470 | {"shape":"ResourceNotFoundException"} |
471 | 471 | ], |
472 | | - "documentation":"<p> Initiates a trace retrieval process using the specified time range and for the give trace IDs on Transaction Search generated by the CloudWatch log group. For more information, see <a href=\"https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/CloudWatch-Transaction-Search.html\">Transaction Search</a>. </p> <p>API returns a <code>RetrievalToken</code>, which can be used with <code>ListRetrievedTraces</code> or <code>GetRetrievedTracesGraph</code> to fetch results. Retrievals will time out after 60 minutes. To execute long time ranges, consider segmenting into multiple retrievals.</p> <p>If you are using <a href=\"https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/CloudWatch-Unified-Cross-Account.html\">CloudWatch cross-account observability</a>, you can use this operation in a monitoring account to retrieve data from a linked source account, as long as both accounts have transaction search enabled.</p> <p>For retrieving data from X-Ray directly as opposed to the Transaction-Search Log group, see <a href=\"https://docs.aws.amazon.com/xray/latest/api/API_BatchGetTraces.html\">BatchGetTraces</a>.</p>" |
| 472 | + "documentation":"<p> Initiates a trace retrieval process using the specified time range and for the given trace IDs in the Transaction Search generated CloudWatch log group. For more information, see <a href=\"https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/CloudWatch-Transaction-Search.html\">Transaction Search</a>. </p> <p>API returns a <code>RetrievalToken</code>, which can be used with <code>ListRetrievedTraces</code> or <code>GetRetrievedTracesGraph</code> to fetch results. Retrievals will time out after 60 minutes. To execute long time ranges, consider segmenting into multiple retrievals.</p> <p>If you are using <a href=\"https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/CloudWatch-Unified-Cross-Account.html\">CloudWatch cross-account observability</a>, you can use this operation in a monitoring account to retrieve data from a linked source account, as long as both accounts have transaction search enabled.</p> <p>For retrieving data from X-Ray directly as opposed to the Transaction-Search Log group, see <a href=\"https://docs.aws.amazon.com/xray/latest/api/API_BatchGetTraces.html\">BatchGetTraces</a>.</p>" |
473 | 473 | }, |
474 | 474 | "TagResource":{ |
475 | 475 | "name":"TagResource", |
|
627 | 627 | "type":"list", |
628 | 628 | "member":{"shape":"AnomalousService"} |
629 | 629 | }, |
| 630 | + "AnomalyCount":{ |
| 631 | + "type":"integer", |
| 632 | + "min":0 |
| 633 | + }, |
630 | 634 | "AttributeKey":{ |
631 | 635 | "type":"string", |
632 | 636 | "max":32, |
|
738 | 742 | "max":24, |
739 | 743 | "min":24 |
740 | 744 | }, |
| 745 | + "CooldownWindowMinutes":{ |
| 746 | + "type":"integer", |
| 747 | + "min":0 |
| 748 | + }, |
741 | 749 | "CreateGroupRequest":{ |
742 | 750 | "type":"structure", |
743 | 751 | "required":["GroupName"], |
|
1501 | 1509 | "SamplingStatisticsDocuments":{ |
1502 | 1510 | "shape":"SamplingStatisticsDocumentList", |
1503 | 1511 | "documentation":"<p>Information about rules that the service is using to sample requests.</p>" |
| 1512 | + }, |
| 1513 | + "SamplingBoostStatisticsDocuments":{ |
| 1514 | + "shape":"SamplingBoostStatisticsDocumentList", |
| 1515 | + "documentation":"<p>Information about rules that the service is using to boost sampling rate.</p>" |
1504 | 1516 | } |
1505 | 1517 | } |
1506 | 1518 | }, |
|
1518 | 1530 | "UnprocessedStatistics":{ |
1519 | 1531 | "shape":"UnprocessedStatisticsList", |
1520 | 1532 | "documentation":"<p>Information about <a href=\"https://docs.aws.amazon.com/xray/latest/api/API_SamplingStatisticsDocument.html\">SamplingStatisticsDocument</a> that X-Ray could not process.</p>" |
| 1533 | + }, |
| 1534 | + "UnprocessedBoostStatistics":{ |
| 1535 | + "shape":"UnprocessedStatisticsList", |
| 1536 | + "documentation":"<p>Information about <a href=\"https://docs.aws.amazon.com/xray/latest/api/API_SamplingBoostStatisticsDocument.html\">SamplingBoostStatisticsDocument</a> that X-Ray could not process.</p>" |
1521 | 1537 | } |
1522 | 1538 | } |
1523 | 1539 | }, |
|
2281 | 2297 | "error":{"httpStatusCode":400}, |
2282 | 2298 | "exception":true |
2283 | 2299 | }, |
| 2300 | + "MaxRate":{ |
| 2301 | + "type":"double", |
| 2302 | + "max":1, |
| 2303 | + "min":0 |
| 2304 | + }, |
2284 | 2305 | "NullableBoolean":{"type":"boolean"}, |
2285 | 2306 | "NullableDouble":{"type":"double"}, |
2286 | 2307 | "NullableInteger":{"type":"integer"}, |
|
2681 | 2702 | "max":32, |
2682 | 2703 | "min":1 |
2683 | 2704 | }, |
| 2705 | + "SampledAnomalyCount":{ |
| 2706 | + "type":"integer", |
| 2707 | + "min":0 |
| 2708 | + }, |
2684 | 2709 | "SampledCount":{ |
2685 | 2710 | "type":"integer", |
2686 | 2711 | "min":0 |
2687 | 2712 | }, |
| 2713 | + "SamplingBoost":{ |
| 2714 | + "type":"structure", |
| 2715 | + "required":[ |
| 2716 | + "BoostRate", |
| 2717 | + "BoostRateTTL" |
| 2718 | + ], |
| 2719 | + "members":{ |
| 2720 | + "BoostRate":{ |
| 2721 | + "shape":"Double", |
| 2722 | + "documentation":"<p>The calculated sampling boost rate for this service </p>" |
| 2723 | + }, |
| 2724 | + "BoostRateTTL":{ |
| 2725 | + "shape":"Timestamp", |
| 2726 | + "documentation":"<p>When the sampling boost expires.</p>" |
| 2727 | + } |
| 2728 | + }, |
| 2729 | + "documentation":"<p>Temporary boost sampling rate. X-Ray calculates sampling boost for each service based on the recent sampling boost stats of all services that called <a href=\"https://docs.aws.amazon.com/xray/latest/api/API_GetSamplingTargets.html\">GetSamplingTargets</a>.</p>" |
| 2730 | + }, |
| 2731 | + "SamplingBoostStatisticsDocument":{ |
| 2732 | + "type":"structure", |
| 2733 | + "required":[ |
| 2734 | + "RuleName", |
| 2735 | + "ServiceName", |
| 2736 | + "Timestamp", |
| 2737 | + "AnomalyCount", |
| 2738 | + "TotalCount", |
| 2739 | + "SampledAnomalyCount" |
| 2740 | + ], |
| 2741 | + "members":{ |
| 2742 | + "RuleName":{ |
| 2743 | + "shape":"RuleName", |
| 2744 | + "documentation":"<p>The name of the sampling rule.</p>" |
| 2745 | + }, |
| 2746 | + "ServiceName":{ |
| 2747 | + "shape":"ServiceName", |
| 2748 | + "documentation":"<p>Matches the <code>name</code> that the service uses to identify itself in segments.</p>" |
| 2749 | + }, |
| 2750 | + "Timestamp":{ |
| 2751 | + "shape":"Timestamp", |
| 2752 | + "documentation":"<p>The current time.</p>" |
| 2753 | + }, |
| 2754 | + "AnomalyCount":{ |
| 2755 | + "shape":"AnomalyCount", |
| 2756 | + "documentation":"<p>The number of requests with anomaly.</p>" |
| 2757 | + }, |
| 2758 | + "TotalCount":{ |
| 2759 | + "shape":"TotalCount", |
| 2760 | + "documentation":"<p>The number of requests that associated to the rule.</p>" |
| 2761 | + }, |
| 2762 | + "SampledAnomalyCount":{ |
| 2763 | + "shape":"SampledAnomalyCount", |
| 2764 | + "documentation":"<p>The number of requests with anomaly recorded.</p>" |
| 2765 | + } |
| 2766 | + }, |
| 2767 | + "documentation":"<p>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 <a href=\"https://docs.aws.amazon.com/xray/latest/api/API_GetSamplingTargets.html\">GetSamplingTargets</a>.</p>" |
| 2768 | + }, |
| 2769 | + "SamplingBoostStatisticsDocumentList":{ |
| 2770 | + "type":"list", |
| 2771 | + "member":{"shape":"SamplingBoostStatisticsDocument"}, |
| 2772 | + "max":25 |
| 2773 | + }, |
| 2774 | + "SamplingRateBoost":{ |
| 2775 | + "type":"structure", |
| 2776 | + "required":[ |
| 2777 | + "MaxRate", |
| 2778 | + "CooldownWindowMinutes" |
| 2779 | + ], |
| 2780 | + "members":{ |
| 2781 | + "MaxRate":{ |
| 2782 | + "shape":"MaxRate", |
| 2783 | + "documentation":"<p>Defines max temporary sampling rate to apply when a boost is triggered. Calculated boost rate by X-Ray will be less than or equal to this max rate.</p>" |
| 2784 | + }, |
| 2785 | + "CooldownWindowMinutes":{ |
| 2786 | + "shape":"CooldownWindowMinutes", |
| 2787 | + "documentation":"<p>Sets the time window (in minutes) in which only one sampling rate boost can be triggered. After a boost occurs, no further boosts are allowed until the next window.</p>" |
| 2788 | + } |
| 2789 | + }, |
| 2790 | + "documentation":"<p>Enable temporary sampling rate increases when you detect anomalies to improve visibility.</p>" |
| 2791 | + }, |
2688 | 2792 | "SamplingRule":{ |
2689 | 2793 | "type":"structure", |
2690 | 2794 | "required":[ |
|
2751 | 2855 | "Attributes":{ |
2752 | 2856 | "shape":"AttributeMap", |
2753 | 2857 | "documentation":"<p>Matches attributes derived from the request.</p>" |
| 2858 | + }, |
| 2859 | + "SamplingRateBoost":{ |
| 2860 | + "shape":"SamplingRateBoost", |
| 2861 | + "documentation":"<p>Specifies the multiplier applied to the base sampling rate. This boost allows you to temporarily increase sampling without changing the rule's configuration.</p>" |
2754 | 2862 | } |
2755 | 2863 | }, |
2756 | 2864 | "documentation":"<p>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.</p>" |
|
2827 | 2935 | "Attributes":{ |
2828 | 2936 | "shape":"AttributeMap", |
2829 | 2937 | "documentation":"<p>Matches attributes derived from the request.</p>" |
| 2938 | + }, |
| 2939 | + "SamplingRateBoost":{ |
| 2940 | + "shape":"SamplingRateBoost", |
| 2941 | + "documentation":"<p>Specifies the multiplier applied to the base sampling rate. This boost allows you to temporarily increase sampling without changing the rule's configuration.</p>" |
2830 | 2942 | } |
2831 | 2943 | }, |
2832 | 2944 | "documentation":"<p>A document specifying changes to a sampling rule's configuration.</p>" |
|
2946 | 3058 | "Interval":{ |
2947 | 3059 | "shape":"NullableInteger", |
2948 | 3060 | "documentation":"<p>The number of seconds for the service to wait before getting sampling targets again.</p>" |
| 3061 | + }, |
| 3062 | + "SamplingBoost":{ |
| 3063 | + "shape":"SamplingBoost", |
| 3064 | + "documentation":"<p>The sampling boost that X-Ray allocated for this service.</p>" |
2949 | 3065 | } |
2950 | 3066 | }, |
2951 | 3067 | "documentation":"<p>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 <a href=\"https://docs.aws.amazon.com/xray/latest/api/API_GetSamplingTargets.html\">GetSamplingTargets</a>.</p>" |
|
3317 | 3433 | "error":{"httpStatusCode":400}, |
3318 | 3434 | "exception":true |
3319 | 3435 | }, |
| 3436 | + "TotalCount":{ |
| 3437 | + "type":"integer", |
| 3438 | + "min":0 |
| 3439 | + }, |
3320 | 3440 | "Trace":{ |
3321 | 3441 | "type":"structure", |
3322 | 3442 | "members":{ |
|
3326 | 3446 | }, |
3327 | 3447 | "Duration":{ |
3328 | 3448 | "shape":"NullableDouble", |
3329 | | - "documentation":"<p>The length of time in seconds between the start time of the root segment and the end time of the last segment that completed.</p>" |
| 3449 | + "documentation":"<p>The length of time in seconds between the start time of the earliest segment that started and the end time of the last segment that completed.</p>" |
3330 | 3450 | }, |
3331 | 3451 | "LimitExceeded":{ |
3332 | 3452 | "shape":"NullableBoolean", |
|
3415 | 3535 | }, |
3416 | 3536 | "Duration":{ |
3417 | 3537 | "shape":"NullableDouble", |
3418 | | - "documentation":"<p>The length of time in seconds between the start time of the root segment and the end time of the last segment that completed.</p>" |
| 3538 | + "documentation":"<p> The length of time in seconds between the start time of the earliest segment that started and the end time of the last segment that completed.</p>" |
3419 | 3539 | }, |
3420 | 3540 | "ResponseTime":{ |
3421 | 3541 | "shape":"NullableDouble", |
|
0 commit comments