**To get a service graph** The following example displays a document within a specified time period that describes services processing incoming requests, and the downstream services that they call as a result.:: aws xray get-service-graph \ --start-time 1568835392.0 --end-time 1568835446.0 Output:: { "Services": [ { "ReferenceId": 0, "Name": "Scorekeep", "Names": [ "Scorekeep" ], "Root": true, "Type": "AWS::ElasticBeanstalk::Environment", "State": "active", "StartTime": 1568835392.0, "EndTime": 1568835446.0, "Edges": [ { "ReferenceId": 1, "StartTime": 1568835392.0, "EndTime": 1568835446.0, "SummaryStatistics": { "OkCount": 14, "ErrorStatistics": { "ThrottleCount": 0, "OtherCount": 0, "TotalCount": 0 }, "FaultStatistics": { "OtherCount": 0, "TotalCount": 0 }, "TotalCount": 14, "TotalResponseTime": 0.13 }, "ResponseTimeHistogram": [ { "Value": 0.008, "Count": 1 }, { "Value": 0.005, "Count": 7 }, { "Value": 0.009, "Count": 1 }, { "Value": 0.021, "Count": 1 }, { "Value": 0.038, "Count": 1 }, { "Value": 0.007, "Count": 1 }, { "Value": 0.006, "Count": 2 } ], "Aliases": [] }, ... TRUNCATED FOR BREVITY ... ] } ], "StartTime": 1568835392.0, "EndTime": 1568835446.0, "ContainsOldGroupVersions": false } For more information, see `Using the AWS X-Ray API with the AWS CLI <https://docs.aws.amazon.com/xray/latest/devguide/xray-api-tutorial.html>`__ in the *AWS X-Ray Developer Guide*.
Name | Type | Size | Permission | Actions |
---|---|---|---|---|
batch-traces-get.rst | File | 2.73 KB | 0644 |
|
create-group.rst | File | 875 B | 0644 |
|
create-sampling-rule.rst | File | 1.73 KB | 0644 |
|
delete-group.rst | File | 553 B | 0644 |
|
delete-sampling-rule.rst | File | 1.23 KB | 0644 |
|
get-encryption-config.rst | File | 623 B | 0644 |
|
get-group.rst | File | 895 B | 0644 |
|
get-groups.rst | File | 900 B | 0644 |
|
get-sampling-rules.rst | File | 2.54 KB | 0644 |
|
get-sampling-targets.rst | File | 1.35 KB | 0644 |
|
get-service-graph.rst | File | 3.1 KB | 0644 |
|
get-trace-summaries.rst | File | 917 B | 0644 |
|
put-encryption-config.rst | File | 746 B | 0644 |
|
put-trace-segments.rst | File | 1.03 KB | 0644 |
|
update-group.rst | File | 914 B | 0644 |
|
update-sampling-rule.rst | File | 1.49 KB | 0644 |
|