aws / aws/aws-xray-sdk-java

Exclude path from being traced with certain AWS services

Open
#124 3 comments 0 reactions 0 assignees View on GitHub
bug
Dominant language
Java
Stars
100
Forks
100
PR merge metrics
No merged PRs in 30d

Description

The current implementation is capturing the full HTTP path when tracing outgoing requests to API Gateway. This presents a bit of a problem as the `connectionId` is part of the path when sending outbound Websocket messages, i.e. the message is posted to https://my.ws.apigateway/@connections/. This leads to a huge number of nodes inside the X-ray console as each connection effectively creates a new node. Is there a way to configure the X-ray SDK to use a fixed value when communicating with a Websocket API Gateway and adding the `connectionId` path parameter to the X-ray context instead?

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.