I have an AWS Lambda function which has many integrations with an AWS API Gateway API. The API has Enable X-Ray Tracing
checked and traces are correctly populating.
Under "AWS X-Ray Dashboard > Traces > Trace overview", I group the traces by "URL". However, the users of the API make requests with query parameters which are unique URLs based only on the query parameters themselves.
For instance, there is a route /plans
which a user will make a request to using two query parameters, token=abc123×tamp=159501493
. Since something as unique as a timestamp is included in the query parameters, no traces will be grouped together, leading to hundreds of /plans
traces with varying timestamps. The high volume of traces makes any attempt to glean useful information from X-Ray's traces impossible.
I have disabled X-Ray tracing in the meantime. Now, is there any solution for this issue, or am I out of luck until the AWS developers implement a fix for this ?