Replies: 1 comment 3 replies
-
|
You're definitely running Tempo in a strange mode so I'm not surprised you're having issues. If there were a way to programmatically stop Tempo and all its subservices you could do that, wipe all the files and restart. Perhaps look at the shutdown process? I'd support a PR to do a little refactoring if it makes your use case achievable and doesn't unnecessarily complicate Tempo. |
Beta Was this translation helpful? Give feedback.
3 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I have a (closed source) Go application which visualizes OTEL traces as sequence diagrams; it embeds Tempo for managing the processing and querying of OTEL traces. Ant it works great!
Basically:
But I have one use case I can't figure out how to solve: I need to reset Tempo's storage to get into a clean slate. The only way right now is to shutdown the entire app. I've tried deleting the storage files but Tempo doesn't like that (understandable).
I couldn't find any REST or Go API yet to clear out the data storage. Note that I don't want to change the retention, I'd like to clear everything at once at any moment in time.
I also couldn't see an API to stop the Tempo instance once I execute
Run.I'd appreciate any insight you could share!
Beta Was this translation helpful? Give feedback.
All reactions