How to extract trace data from jaeger #2876
-
I am trying to learn kubernetes recently. I have already deployed jaeger (all-in-one) on istio. Although I can see the trace information on the jaeger UI, I don't know how to extract these trace data by python so that I can use these data to do something about AIops. |
Beta Was this translation helpful? Give feedback.
Replies: 3 comments 3 replies
-
@Ashmita152 might be able to help you on this. |
Beta Was this translation helpful? Give feedback.
-
The APIs are documented here: https://www.jaegertracing.io/docs/1.22/apis/ |
Beta Was this translation helpful? Give feedback.
-
Hi @gxxxh There are various ways to pull jaeger data as Yuri shared. The easiest one I found is by hitting jaeger-query's http endpoint: /api/traces. You can refer to this python script to do the same: https://github.com/Ashmita152/jaeger-datasets/blob/master/bookinfo/extract.py Let us know if you have more questions. Thank you. |
Beta Was this translation helpful? Give feedback.
Hi @gxxxh
There are various ways to pull jaeger data as Yuri shared. The easiest one I found is by hitting jaeger-query's http endpoint: /api/traces. You can refer to this python script to do the same:
https://github.com/Ashmita152/jaeger-datasets/blob/master/bookinfo/extract.py
Let us know if you have more questions. Thank you.