Extract Xray Segment Duration as Metrics

0

We would like to observe the performance of the certain segment of traces. Is it possible to extract the duration and use it as metrics? If this is possible, how can I do it?

Qayyuum
gefragt vor 5 Monaten285 Aufrufe
1 Antwort
1
Akzeptierte Antwort

Hello,

You can use API BatchGetTraces to get trace of certain Trace IDs. The segment and subsegments within that Trace ID will have info on their respective startTime and endTime but to populate this data and use as a metric in CW to evaluate the performance is Not supported by X-Ray.

  1. You can see list of all available trace metrics listed here https://docs.aws.amazon.com/xray/latest/devguide/xray-sdk-java-monitoring.html#xray-sdk-java-monitoring-metrics

  2. X-Ray with ADOT https://aws-otel.github.io/docs/getting-started/collector. - send correlated metrics and traces to multiple AWS monitoring solutions

AWS
SUPPORT-TECHNIKER
beantwortet vor 5 Monaten
profile picture
EXPERTE
überprüft vor 2 Monaten

Du bist nicht angemeldet. Anmelden um eine Antwort zu veröffentlichen.

Eine gute Antwort beantwortet die Frage klar, gibt konstruktives Feedback und fördert die berufliche Weiterentwicklung des Fragenstellers.

Richtlinien für die Beantwortung von Fragen