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
feita há 5 meses285 visualizações
1 Resposta
1
Resposta aceita

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
ENGENHEIRO DE SUPORTE
respondido há 5 meses
profile picture
ESPECIALISTA
avaliado há 2 meses

Você não está conectado. Fazer login para postar uma resposta.

Uma boa resposta responde claramente à pergunta, dá feedback construtivo e incentiva o crescimento profissional de quem perguntou.

Diretrizes para responder a perguntas