Skip to content

[tempo-cli] Add option to delete traces by id#3856

Merged
joe-elliott merged 11 commits intografana:mainfrom
joe-elliott:cli-trace-delete
Jul 12, 2024
Merged

[tempo-cli] Add option to delete traces by id#3856
joe-elliott merged 11 commits intografana:mainfrom
joe-elliott:cli-trace-delete

Conversation

@joe-elliott
Copy link
Copy Markdown
Collaborator

@joe-elliott joe-elliott commented Jul 10, 2024

What this PR does:
Adds an option to delete traces by id to the tempo cli.

Example:

go run ./cmd/tempo-cli rewrite-blocks drop-trace <id> <tenant>

Which issue(s) this PR fixes:
Fixes #

Checklist

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

Signed-off-by: Joe Elliott <number101010@gmail.com>
Signed-off-by: Joe Elliott <number101010@gmail.com>
Signed-off-by: Joe Elliott <number101010@gmail.com>
Signed-off-by: Joe Elliott <number101010@gmail.com>
Comment thread cmd/tempo-cli/cmd-rewrite-blocks.go Outdated
Comment thread cmd/tempo-cli/cmd-rewrite-blocks.go Outdated
Comment thread tempodb/encoding/common/interfaces.go Outdated
Signed-off-by: Joe Elliott <number101010@gmail.com>
Signed-off-by: Joe Elliott <number101010@gmail.com>
Signed-off-by: Joe Elliott <number101010@gmail.com>
Signed-off-by: Joe Elliott <number101010@gmail.com>
Signed-off-by: Joe Elliott <number101010@gmail.com>
Signed-off-by: Joe Elliott <number101010@gmail.com>
Copy link
Copy Markdown
Contributor

@zalegrala zalegrala left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is neat. Looks pretty tidy to me.

@joe-elliott joe-elliott merged commit 103a3d6 into grafana:main Jul 12, 2024
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.

4 participants