-
Notifications
You must be signed in to change notification settings - Fork 2.5k
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
Traces in a rolled-over index are unable to be hotlinked via /trace/{id} #3152
Comments
Without knowing your storage configuration it's impossible to understand whether this is a bug or misconfiguration. Could you please share all jaeger flags and rollover script configuration? |
We are using Elasticsearch as storage. The flags regarding es.use-alias are implemented over all the components. We use jobs for rollovers and clean up. These come from Jaeger itself. I'm open to share more tomorrow but I'm somewhat confident that this ain't a misconfiguration as everything works fine. Traces can be found/searched for. It's merely not working for specific traces that are "older". This gives an 404 when using the URL directly. Even though these can be found in ES. When just searching by date, these traces can be accessed. Again, this behavior is only for "older" traces. Stats wise, we ingest about 350 billion spans per month. Or for the sane European, that's 350 miljard. |
The real configuration values would help here, but if you don't want to share that is fine. Setting jaeger/plugin/storage/es/esRollover.py Line 54 in 7636530
|
Welp, this is awkward. That indeed fixed it. I still don't really understand how one could get a trace from the search UI part, but not from the URL. Anyhow, thank you so much! |
Let's keep this open and improve docs so the other people don't run into the same issue. Where did you learn how to configure rollover? In the initial setup did you configure We should improve rollover docs and as well document this in --es.max-span-age. Are you using operator as well? |
I'm using the helm chart, but we've edited this quite some bit so this is not perse in line with upstream anymore. but instead of days, we use
And basically this works like a charm and you can also see your traces via the search (also on rollover'd indexes). |
@wiardvanrij I think this is a good question and I'll attempt (because I didn't understand myself until looking over the code just now) to explain why this behaviour is the way it is. Feel free to correct me if I'm wrong @pavolloffay.
If you're executing the
|
Describe the bug
/trace/{your-id}
/trace/{your-id}
pageWhen using a trace that is 'fresh' i.e. has not been in a rollover index, the
/trace/{your-id}
works.Expected behavior
Directly 'hotlinking' to any
/trace/{your-id}
should work. Regardless if this lives in a roll-over'd index.Version (please complete the following information):
What troubleshooting steps did you try?
So many things, but your own tracing and debug lvls are empty.
Additional context
I'm aware of other issues before, I have searched them. The key difference here is:
/trace/{your-id}
I think, but I got no evidence for this, that the direct page on
/trace/{your-id}
does not account for the flages.use-aliases
The text was updated successfully, but these errors were encountered: