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
posta 5 mesi fa285 visualizzazioni
1 Risposta
1
Risposta accettata

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
TECNICO DI SUPPORTO
con risposta 5 mesi fa
profile picture
ESPERTO
verificato 2 mesi fa

Accesso non effettuato. Accedi per postare una risposta.

Una buona risposta soddisfa chiaramente la domanda, fornisce un feedback costruttivo e incoraggia la crescita professionale del richiedente.

Linee guida per rispondere alle domande