Questions tagged [aws-xray]

AWS X-Ray allows developers to analyze the behavior of distributed applications by providing request tracing, exception collection, and profiling capabilities.

Documentation: https://aws.amazon.com/documentation/xray/

371 questions
1
vote
1 answer

AWS X-ray on a Golang lambda function for Cognito

I was reading the official documentation on https://github.com/aws/aws-xray-sdk-go but not quite sure how can I add the Cognito client that is created on my lambda function to the service map and x-ray traces. import ( "context" …
juan
  • 358
  • 1
  • 4
  • 12
1
vote
2 answers

Cloudwatch RUM and API Gateway v2 / Lambda XRay Tracing

I have a web application instrumented with Cloudwatch RUM which sends an x-amzn-trace-id header in all XHR requests. The AWS docs do not specify further instructions on how to connect client-side traces with backend services, so I assume there is…
1
vote
2 answers

Cannot access javax.servlet.Filter class file for javax.servlet.Filter not found

I'm working in a project and right now I'm migrating the project to Spring 3.0. So I made some changes in some classes. I can not share the classes because of the job rules but this class about the AwsXrayConfig class. And using filter. But when I…
1
vote
0 answers

AWS Cloud watch X-ray Traces shows Duration is 1000+ seconds for a API request for a AWS Lambda function, what does this mean?

For an API call, AWS X-ray Traces shows 1000+ seconds in Duration column, but the response time is less than a second (631 milliseconds), does the 1000+ seconds Duration indicates an issue in API? Segments Timeline Durations are around couple of…
Buddhi
  • 2,224
  • 5
  • 32
  • 43
1
vote
0 answers

How to use Lambda Telemetry API for container based images?

AWS Lambda suggests using ADOT(AWS Distro for OpenTelemetry) over the AWS x-ray SDK to instrument python code in AWS Lambda. The documentation that suggests this can be found…
PeeKay
  • 59
  • 1
  • 4
1
vote
1 answer

OpenTelemetry AWS XRay UDP

I'm trying to write data to the awsxrayreceiver. The data is from the trace segment. Here are the steps that I did: Getting the trace summaries Using the trace IDs from the trace summary to do the batch get traces Sending the trace segment document…
undefine97
  • 167
  • 7
1
vote
1 answer

AWS X-Ray Daemon | OpenTelemetry

Is there a way for Opentelemetry Instrumentation to send traces to an AWS X-Ray Daemon and that daemon will export it to the central collector? Because both the agent collector and central collector are in the same region. When the application with…
undefine97
  • 167
  • 7
1
vote
0 answers

How do I propagate SQS calls with OpenTelemetry auto-instrumentation

I've done the necessary sidecar setup in CloudFormation for the collector and added the following to my docker file for my Java applications deployed in AWS ECS (obviously replacing myservice with relevant name): ENV…
1
vote
1 answer

What are the equivalents of AWSXRay captureHTTPsGlobal and captureAWS methods in @aws-sdk/client-xray?

In my code, I'm using aws-xray-sdk at the moment and I want to migrate to @aws-sdk/client-xray, XRay Client - AWS SDK for JavaScript v3. I have the following piece of code and my question is what would be a replacement for it using the new xray…
Mehdi Javan
  • 1,081
  • 6
  • 25
1
vote
1 answer

Using ILogger to send logging to x-ray via OpenTelemetry

All, Thanks in advance for your time. We are moving to OpenTelemetry from ILogger/log4net logging to files. We were on-prem now moving to the cloud logging to files is not going to work. We use AWS. I have the aws-otel-collector working with…
1
vote
1 answer

Tracing AWS Step Functions with Splunk (via X-Ray)

AWS supports tracing Step Functions with X-Ray with a one click instrument step. Once activated, the step function context is propagated through all the lambda functions. Can Splunk Observability Suite (APM) use the x-ray context data? Or is there…
michael
  • 2,577
  • 5
  • 39
  • 62
1
vote
1 answer

Capture Traces from AWS Lambda to Step Function to Lambda

I am experimenting with Lambdas and I am having a hard time passing traces from a Lambda to a Step Function which has a lambda within it. So structure looks something like this: Lambda Code call step function -> Step function -> Lambda. Problem is…
1
vote
1 answer

How to add a Servlet filter in Vert.x REST API?

I have a REST API which was created purely using Vert.x, I would like to instrument it for AWS X-RAY and in order to do that I need to add a servlet filter. I'm creating a webserver like this: vertx.createHttpServer() .requestHandler(r ->…
leadingSkill
  • 337
  • 3
  • 13
1
vote
2 answers

X-Ray and async multithreading: segment cannot be found

I need to run multiple async methods from the main thread, which should be able to finish even after the main thread has returned a response. I've added a method which does the async call and handles the X-Ray based things, which works if I call it…
warozell
  • 49
  • 2
  • 6
1
vote
1 answer

How to integrate AWS X-Ray tracing with Amazon MQ?

Is there anyway feasible to trace messages sent by Amazon MQ? Currently, we have API getting the request and sending a message to another application, which is needed to be traced. As there is no official documentation and support regarding the…
Narek
  • 33
  • 6