Skip to content
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

Added query blocks cli command #876

Merged
merged 5 commits into from
Aug 13, 2021
Merged

Conversation

joe-elliott
Copy link
Member

@joe-elliott joe-elliott commented Aug 13, 2021

What this PR does:
Adds the ability to query the backend blocks directly and dump all info found for a trace id. This also changes the existing query option to better distinguish it in the cli.

./tempo-cli query => ./tempo-cli query api or ./tempo-cli query blocks

The command outputs each block found, its contents and the combined trace.

Checklist

  • Tests updated
  • Documentation added
  • CHANGELOG.md updated - the order of entries should be [CHANGE], [FEATURE], [ENHANCEMENT], [BUGFIX]

@mdisibio
Copy link
Contributor

mdisibio commented Aug 13, 2021

Nice! In the documentation let's put the warning that it can be intense, as it might download quite a bit of data while checking bloom filters, etc. Also, for visualizing the final trace json, did you have any recommendations that would be good to mention? Grafana recently added support for visualizing trace json grafana/grafana#37407 but I'm not sure of version.

Signed-off-by: Joe Elliott <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants