aws / aws-xray-sdk-node

The official AWS X-Ray SDK for Node.js.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Availability of link support in AWS SDK

singhnix opened this issue · comments

  1. Need feature 'link' [1] available for AWS SDK for Xray ? The link which is provided is for Open Telemetry. We are using AWS SDK in our code base and need the same support in AWS SDK as well.

Use Case:

Suppose traces are linked using the logic mentioned in [1] there will be a single trace with 3 branches for this use case. Is it possible to measure time taken for 3 different path within a trace?

Single trace is as given below

A - Topic x - B, C, D

From this single trace is it possible to find time taken for part of a trace?

Part 1 A - Topic x - B
Part 2 A - Topic x - C
Part 3 A - Topic x - D

Reference Link:

[1]. https://github.com/open-telemetry/opentelemetry-specification/blob/main/specification/overview.md#links-between-spans

Hi @singhnix,

Thanks for raising this request! Today the notion of links between traces is not supported in the X-Ray backend or via X-Ray SDKs. The specific use-case you mention of seeing the individual latencies of each path is an advanced use case of linking traces that the X-Ray backend will need to support.

We will keep this open as a feature request and update if there are any updates we can provide.