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
0
votes
2 answers

Possible to enable X-Ray tracing with RestSharp

We currently have an internal library that we're using to make a lot of our HTTP calls that uses RestSharp rather that the HttpClient to make all of our requests to downstream services. Is it possible to enable x-ray tracing in AWS without…
Ben
  • 2,058
  • 9
  • 29
  • 39
0
votes
1 answer

AWS X-Ray doesn't show Authorizer in Service Map with API Gateway

API Gateway --> Custom Authorizer(Lambda) --> NLB --> Fargate Task Above is the request flow of my application, I have enabled X-Ray in API Gateway stage and redeployed the API. However, in the X-Ray trace map diagram, I see only API Gateway and…
0
votes
1 answer

Tracing Celery tasks in Django with AWS X-Ray

I'm trying to get traces from Celery tasks in my Django application. I'm using X-Ray from AWS. I am getting traces for normal HTTP calls, SQL database queries, but not for Celery tasks or Redis. The log statements in the implemented tasks are…
KollKode
  • 403
  • 4
  • 14
0
votes
1 answer

How can I configure lambda policy for pushing trace to xray to achieve Least Privilege Permissions?

I am using AWS labmda and xray in my application. Below is my lambda role's policy. What I don't like is the Resources part which is *? How can I define a resource to achieve Least Privilege Permissions? I have read through this doc:…
Joey Yi Zhao
  • 37,514
  • 71
  • 268
  • 523
0
votes
1 answer

Using AWS X-Ray within a Glue Python Shell Job

Is it possible to use x-ray patching for boto3 within a Glue python shell job using the standard deployed environment? The aws-xray-sdk library is not in the list of supported libraries. But not including the ability to instrument boto3, which is…
Ramón J Romero y Vigil
  • 17,373
  • 7
  • 77
  • 125
0
votes
2 answers

how to run aws xray in ecs as a daemon which all other containers can sent data to

In the link provided for ECS AWS X-Ray implementation it shows how to run xray as a sidecar to the application. so every application would have it how X-Ray. Is it possible to deploy xray as daemon so that only on instance of xray is there per EC2…
kumar
  • 8,207
  • 20
  • 85
  • 176
0
votes
3 answers

api unable to send the traces to aws-xray deamon in docker container

I have two docker containers for rest API and x-ray daemon up and running. In my local, API sends the traces to x-ray daemon successfully. But unable to achieve in docker. These steps I have followed. added was x-ray filter to API to instrument…
user3148335
  • 41
  • 1
  • 7
0
votes
2 answers

AWS Xray-Daemon locally, unable to connect Xray using Xray-daemon from my app

I'm running Xray daemon locally, and I wanted to push the data to Xray from my docker app by setting up daemon AWSXRay.setDaemonAddress('127.0.0.1:2000'). Verified the daemon installation by running cat segment.txt > /dev/udp/127.0.0.1/2000 inside…
Gayatri
  • 339
  • 2
  • 3
  • 12
0
votes
2 answers

AWS X-Ray instrumentation with Vertx Microservices build in Java

How to implement x-ray instrumentation with Vertx microservices build in java? Is there is any sdk available for vertx aws-xray? I used java sdk but not getting service map.
Swati N
  • 109
  • 1
  • 1
  • 4
0
votes
1 answer

How do you add AWS xray tracing into SMTP calls in golang

I am trying to add xray tracing into all of my external calls and need some help. Http calls were pretty simple and well-documented, but I cannot find anything on smtp. This is what I used to add xray tracing into an http call using the import…
Eldy
  • 173
  • 1
  • 5
0
votes
1 answer

Doobie and AWS Xray Tracing

I am trying to set up XRAY tracing for postgres DB . I keep getting Segment Not found error I following the instructions in this link https://docs.aws.amazon.com/xray/latest/devguide/scorekeep-workerthreads.html def save(event: EventRow): IO[Int] =…
Balaji V
  • 918
  • 3
  • 10
  • 28
0
votes
1 answer

How to mark the lambda segment (XRAY) as Error when using Lambda Proxy

I have add a custom segment added to parent lambda segment so I can add annotations and metadata, the problem is that while I can mark that custom segment and their subsegments as errors, I have not found a way to mark the lambda function segment as…
user7124
  • 95
  • 7
0
votes
1 answer

Searching AWS X-ray filtered on annotations

I have enabled X-ray tracing for my AWS Lambda function and from my code base and an annotation that captures the accountId. The AWX X-Ray doc for getting data from X-ray mentions that annotation associated with X-ray trace are indexed I am…
alwaysAStudent
  • 2,110
  • 4
  • 24
  • 47
0
votes
1 answer

Tracking execution of lambda

I have a lambda that can be executed from various accounts. I wish to track how long the lambda executed for when executed by different accounts. AWS X-ray gives my the duration for which lambda executed by I can't corelate that information to the…
alwaysAStudent
  • 2,110
  • 4
  • 24
  • 47
0
votes
1 answer

AWS X-Ray trace across multiple Lambda functions

I have a handful of Python Lambda functions with tracing enabled, they start like this: import json import boto3 from aws_xray_sdk.core import patch from aws_xray_sdk.core import xray_recorder patch(['boto3']) def lambda_handler(event, context): …
Kim
  • 1,757
  • 1
  • 17
  • 32