Hi All,
Sorry, I couldn't find any similar query and hence filing this issue.
Background: Our team in using Jaeger and would like to share the results to other teams. Currenlty they are sending this by screen shots.
Is there a way i can export the Jaeger trace results in some form (http,CSV,txt) from the GUI ?
thanks
You can export the JSON from one system and import in another
Export:

Import:

You need Jaeger to import the exported Json file.
I am trying to find solution where that dependency is not there .
Operations teams uses this tool to look at the traces and report any latency issues to various other teams who may or may not have the environment as they are primarily interested in latency numbers or any failures .
Hence the request is to have results being easily exported in some easily readable format like CSV or text.
No, we currently export only the JSON representation of the trace. This can then be loaded into any other Jaeger instance, such as one started via docker run jaegertracing/all-in-one.
Thanks.
Can this be extracted via API ?
I'd be interested in this option too. Anyone knows wether it's possible to extract traces stored by Jaeger via the api?
The trace screen has a button to view/download trace JSON. The search screen has a panel to upload this JSON to the UI.
Is there a way to download/export graph under "Trace graph" as svg or pdf?
@ubaierbhat I don't think so. Feel free to open a ticket in https://github.com/jaegertracing/jaeger-ui with description of the use case / requirements. I think exporting the graph in dot format might be a better option than svg/pdf, since dot file can be trivially converted to those.
Is there a way to export all traces from the search results?
No only a single trace in trace detail view. Although you can get the traces from the query API. However you will not be able to easily import them.
I am trying queries like the one below. It turns out that this is one of the few non-trivial queries to the Jaeger ElasticSearch Google search returns.
A bonus: this script https://github.com/larytet-py/es-jaeger/blob/master/find-matches.py processes spans returned by the query below.
curl -X GET "localhost:9200/jaeger-span-2020-07-30/_search?pretty" -H 'Content-Type: application/json' -d'
{
"from": 0,
"size": 500,
"query": {
"bool": {
"must": [
{"match": { "process.serviceName": "transaction-manager" }},
{
"nested": {
"path": "tags",
"query": {
"wildcard": {
"tags.value": "/tm/v2/transaction/*"
}
}
}
}
],
"filter": {
"range": {
"duration": {
"gte": 0,
"lte": 40000000
}
}
}
}
}
}
'
Most helpful comment
The trace screen has a button to view/download trace JSON. The search screen has a panel to upload this JSON to the UI.