-
Notifications
You must be signed in to change notification settings - Fork 518
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Tempo-cli trace-summary issue #3690
Comments
I've never seen this command hang and we use it semi regularly. Could you use |
@joe-elliott can you please provide an example of the above function usage? im not familiar with. |
Some updates, i managed to get an output using additional argument Is there an option to add
|
Just place
Scanning 1% of your total blocks you found 176K spans and 130MB of trace data. The cli is likely hanging b/c this trace is enormous. If
Sure, give it a shot. Here is the code that restricts to a %age of blocks: https://github.com/grafana/tempo/blob/main/cmd/tempo-cli/cmd-query-trace-summary.go#L95-L103 You could copy that into the query blocks code here: https://github.com/grafana/tempo/blob/main/cmd/tempo-cli/cmd-query-blocks.go#L86 |
Thank you @joe-elliott |
Hello
I'm trying to debug and understand the root cause of huge/infinite trace we have in our system.
compactors shows the following:
Grafana tempo search can't fetch the trace due to size limits , so i tried to use the tempo cli in order to get some idea of that specific trace, however, the cli command just hangs iterating the backend blocs and does not provide any info
I tried to wait and even after 30 mins there is no progress.
Im running with latest tempo cli source code and couldn't find any way to limit or interrupt the search for partial info.
Please advise how to proceed.
Expected behavior
tempo-cli query trace-summary should provide stats and summary (or at least partial info for scanned blocks) regardless of trace size.
Environment:
The text was updated successfully, but these errors were encountered: