X-Ray Flashcards

1
Q

X-Ray components

A
  • Tracing Header - first service generates .. it’s unique (trace ID), used to track a request through your distributed application
  • Segments - Data blocks - host/ip, request, response, work done (times), issues
  • Subsegments - more granular version of the above, calls to other services as part of a segment (endpoints etc)
  • Service Graph - JSON Document detailing services and resources which make up your application
  • Service Map - Visual version of the service graph showing traces
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

x-Ray Daemon

A

*X-Ray Daemon is a software application that listens for traffic on UDP port 2000, gathers raw segment data, and relays it to the AWS X-Ray API. Data is generally sent directly the X-Ray API and passes through the X-Ray Daemon which uploads in bulk

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

X-Ray Components

A

X-Ray helps developers analyze and debug applications that utilize microservice architecture
X-Ray is a Distributed Tracing System, it is a method used to profile and monitor apps, especially those built using a microservices architecture to. pinpoint where failures occur and what causes poor performance.

X-Ray Daemon is a software application that listens for traffic on UDP port 2000, gathers raw segment data, and relays it to the AWS X-Ray API. Data is generally not sent directly the X-Ray API and passes through the X-Ray Daemon
which uploads in bulk

Segments provides the resource’s name, details about the request, and details about the work done.
Subsegments provide more granular timing information and details about downstream calls that your app made to fulfill the original request.

Service Graph is a flow chart visualization of average response for micro-services and to visually pinpoint failure
Traces collects all segments generated by a single request so you can track the path of requests through multiple.

Sampling is an algorithm that decides which requests should be traced. By Default X-RAY SDK records the first request each second and 5% of any additional requests.

Tracing Header is named X-Amzn-Trace-Id and identifies a trace which passed along to downstream services

Filter Expressions allows you to narrow down specific paths or users
Groups allow saving FilterExpressions so you can quickly filter traces

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

X-Ray vs Cloudtrail

A

AWS X-Ray helps developers analyse and debug production, distributed applications.

AWS CloudTrail enables governance, compliance, operational auditing, and risk auditing of your AWS account.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly