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

Add more structure and extend tempo-cli #281

Open
dgzlopes opened this issue Oct 28, 2020 · 4 comments
Open

Add more structure and extend tempo-cli #281

dgzlopes opened this issue Oct 28, 2020 · 4 comments

Comments

@dgzlopes
Copy link

@dgzlopes dgzlopes commented Oct 28, 2020

From #276

Right now tempo-cli is a utility for debugging purposes but there are plans to extend its functionality.

Created this issue to track/discuss the improvements of the tool.

@dgzlopes
Copy link
Author

@dgzlopes dgzlopes commented Oct 28, 2020

From my POV, the most pressing issue is the CLI structure. Having some kind of command-based structure (like in Logcli) would make the tool easier to extend and use.

Example:

$ tempo-cli query <args>
@joe-elliott
Copy link
Member

@joe-elliott joe-elliott commented Oct 28, 2020

Yup, this has come up in internal discussions a few times. It's just not something anyone has had time to spend on.

@luisfmelo
Copy link

@luisfmelo luisfmelo commented Oct 29, 2020

What kind of structure are we talking about? What capabilities (aka actions) we want to explicitly provide?

@joe-elliott
Copy link
Member

@joe-elliott joe-elliott commented Oct 29, 2020

Currently tempo-cli only does two things:

  • dump all the blocks in your gcs/s3 backend with some basic stats
  • query the /api/traces endpoint and dump the json

So I suppose it would be nice to make those the two subcommands:

./tempo-cli dump-blocks
./tempo-cli query
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Linked pull requests

Successfully merging a pull request may close this issue.

None yet
3 participants
You can’t perform that action at this time.