-
Notifications
You must be signed in to change notification settings - Fork 2
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
Provide a command to delete data #104
Comments
Please update to the latest version if you haven't done so already. You can delete the
I think in the case where you are changing things it is more useful to actually see the change reflected in Prometheus/explorer. But it should also be possible to clear all the data once you verified it. For now you can just delete the We should also expose this behavior through the |
i'd +1 for a command in the help menu that tells you how to clear data |
+1 Maybe also |
There is also the option to place the |
Thanks for the suggestion. We are already using that crate for determining where to download the prometheus/pushgateway binary. The reason we are using the local directory for Prometheus' storage is that each project (most likely organized as separate directories) will get it own unique data. |
I was playing around with some SLOs and experimenting with a test app and I was confused by the stale data I had. I hadn't realised that the data is being stored in a local
data
folder located in the fold I ran the am command from.I do wonder if this location should be made more obvious or made consistent so you don't end up with lots of data folders all around the place. More than that though, it feels like there should be a command to clear this data, like an
am refresh
command or something similar that will wipe the data so you can start again cleanly.For me this is particularly important in local development where you might be changing function names, SLO names, the SLOs you have etc.
The text was updated successfully, but these errors were encountered: