Skip to content

Get Trace Graph

xray_get_trace_graph R Documentation

Retrieves a service graph for one or more specific trace IDs

Description

Retrieves a service graph for one or more specific trace IDs.

Usage

xray_get_trace_graph(TraceIds, NextToken)

Arguments

TraceIds

[required] Trace IDs of requests for which to generate a service graph.

NextToken

Pagination token.

Value

A list with the following syntax:

list(
  Services = list(
    list(
      ReferenceId = 123,
      Name = "string",
      Names = list(
        "string"
      ),
      Root = TRUE|FALSE,
      AccountId = "string",
      Type = "string",
      State = "string",
      StartTime = as.POSIXct(
        "2015-01-01"
      ),
      EndTime = as.POSIXct(
        "2015-01-01"
      ),
      Edges = list(
        list(
          ReferenceId = 123,
          StartTime = as.POSIXct(
            "2015-01-01"
          ),
          EndTime = as.POSIXct(
            "2015-01-01"
          ),
          SummaryStatistics = list(
            OkCount = 123,
            ErrorStatistics = list(
              ThrottleCount = 123,
              OtherCount = 123,
              TotalCount = 123
            ),
            FaultStatistics = list(
              OtherCount = 123,
              TotalCount = 123
            ),
            TotalCount = 123,
            TotalResponseTime = 123.0
          ),
          ResponseTimeHistogram = list(
            list(
              Value = 123.0,
              Count = 123
            )
          ),
          Aliases = list(
            list(
              Name = "string",
              Names = list(
                "string"
              ),
              Type = "string"
            )
          ),
          EdgeType = "string",
          ReceivedEventAgeHistogram = list(
            list(
              Value = 123.0,
              Count = 123
            )
          )
        )
      ),
      SummaryStatistics = list(
        OkCount = 123,
        ErrorStatistics = list(
          ThrottleCount = 123,
          OtherCount = 123,
          TotalCount = 123
        ),
        FaultStatistics = list(
          OtherCount = 123,
          TotalCount = 123
        ),
        TotalCount = 123,
        TotalResponseTime = 123.0
      ),
      DurationHistogram = list(
        list(
          Value = 123.0,
          Count = 123
        )
      ),
      ResponseTimeHistogram = list(
        list(
          Value = 123.0,
          Count = 123
        )
      )
    )
  ),
  NextToken = "string"
)

Request syntax

svc$get_trace_graph(
  TraceIds = list(
    "string"
  ),
  NextToken = "string"
)