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
1 answer

Can AWS X-ray configured with jdk7?

I am exploring the AWS X-ray for monitoring my application with java 7.But in documentation, I found that, It requires java 8 or later(https://docs.aws.amazon.com/xray/latest/devguide/xray-sdk-java.html). Java 8 is required to up the xray or…
shruti garg
  • 177
  • 1
  • 14
0
votes
1 answer

Sampling rule depending on duration

Is it possible in AWS XRay to create the sampling rule somehow that will sample all the calls for some service with duration greater than some value? The only way right now to find the lagging sub-service is to sample 100% and then filter by…
Ben
  • 2,454
  • 26
  • 32
0
votes
1 answer

aws xray: Missing sql query and django user in traces

I do get traces, and the traces do not contain the query as explained in the docs only: "sql": { "database_type": "mysql", "user": "******" } Do I need to add anything in RDS to allow for this to work? in the django settings? somewhere else? I'm…
alonisser
  • 11,542
  • 21
  • 85
  • 139
0
votes
1 answer

aws xray and golang http call

I'm trying to use awx xray on my go app that makes an http call to service. I simply followed this and am not sure if I missed something, https://docs.aws.amazon.com/xray/latest/devguide/xray-sdk-go-httpclients.html I make the http call like…
lightweight
  • 3,227
  • 14
  • 79
  • 142
0
votes
1 answer

AWS X-Ray Python: MissingEndTime error

I want to trace calls to the Python AWS SDK (boto3) by using the X-Ray SDK. According to the X-Ray docs, I have to patch boto3. Then X-Ray will automatically create sub-segments, so I only have to surround the AWS SDK calls inside a segment. Here is…
Jason
  • 409
  • 2
  • 6
  • 10
0
votes
1 answer

GetTraceSummaries response doesn't include "ServiceIds"

I'm trying to use XRay#GetTraceSummaries in order to gather statistics on all of my companies services. However the docs says that the response object should include allot more things than what I'm actually getting. Most notably I'm missing the…
Olian04
  • 6,480
  • 2
  • 27
  • 54
0
votes
1 answer

AWS X-Ray (with SailsJS) not logging things in the correct trace?

I am trying to use AWS X-Ray in my SailsJS application. I noticed missing subsegments - I added custom traces via AWSXRay.captureAsyncFunc but noticed they are missing. After some closer inspection, I think they actually ended up in a different…
Jiew Meng
  • 84,767
  • 185
  • 495
  • 805
0
votes
1 answer

AWS X-Ray traces from unknown domains?

I just implemented AWS X-Ray on my web application. But I noticed traces for domains that are not mine. How can this happen? These are not my websites ... how can its traces enter my account? After further checks, it seems like this particular IP…
Jiew Meng
  • 84,767
  • 185
  • 495
  • 805
0
votes
1 answer

AWS XRay recorder trying to instrument classes on startup

I'm trying to add the aws-xray-recorder-sdk-spring lib to an existing spring boot service, as described in the docs here. I get this error on startup: {"@timestamp":"2018-05-08T08:04:23.026+10:00","@version":1,"message":"Application run…
Jimmy
  • 16,123
  • 39
  • 133
  • 213
0
votes
3 answers

SegmentNotFoundException in AWS Xray with Lambda

I am trying to write a Lambda function to copy files from one s3 bucket to another integrated with AWS Xray. Below is the code for Lambda function. I am getting the error aws_xray_sdk.core.exceptions.exceptions.SegmentNotFoundException: cannot…
Prakshi Yadav
  • 119
  • 1
  • 2
  • 7
0
votes
1 answer

AWS X-Ray trace for SNS used in Lambda functions

I have a AWS lambda function written in NodeJS, on which I enabled Active Tracing, and now I see the X-Ray trace every time it's called. But - the Lambda function also publishes to an SNS, and the SNS does not appear in the X-Ray traces. Do I need…
Bachman
  • 701
  • 1
  • 6
  • 25
0
votes
1 answer

How to do AWS X-Ray logging in a .NET Core application?

For .NET applications, it is clearly documented how to do logging with Xray. The mentioned library is based on the .NET Framework and does not support .NET Core which became clear to me after installation (warning messages). There is an alternative…
Daan
  • 2,478
  • 3
  • 36
  • 76
0
votes
1 answer

Non correlated segments generated by AWS X-Ray

I have two services(Java), between them is a relationship A depends on B. These two services are deployed on two AWS EB with X-Ray enabled. When I make a HTTP request to the service A, the AWS X-Ray Console shows me the segments of service A and B…
Adrian
  • 395
  • 3
  • 13
0
votes
1 answer

AWS Lambda function with Boto 3: Issue with response metadata

I have created an AWS Lambda function and used Boto3 to get the traces. import json import urllib.request import boto3 import time import uuid import os print('Loading function') def lambda_handler(event, context): """ id: uuid4 …
Kathiravan Natarajan
  • 3,158
  • 6
  • 22
  • 45
0
votes
1 answer

AWS X-Ray Python SDK get_service_graph

I am trying to get JSON using get_service_graph() provided by AWS X-Ray Python SDK in AWS Lambda function. reference link import boto3 from datetime import datetime def lambda_handler(event, context): client = boto3.client('xray') …
Michael_Zhang
  • 333
  • 2
  • 7
1 2 3
24
25