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

Question - where does Clipper store all metric data? #739

Open
jacekwachowiak opened this issue Jul 4, 2019 · 4 comments
Open

Question - where does Clipper store all metric data? #739

jacekwachowiak opened this issue Jul 4, 2019 · 4 comments

Comments

@jacekwachowiak
Copy link
Contributor

jacekwachowiak commented Jul 4, 2019

I tried to purge the data I already gathered, including the records, buckets and so on, but somehow I cannot find where it is stored - I want to be able to do that without stopping completely the cluster so that I have the data of the "new run" when I am testing a new model without having to specify that with every query in Prometheus/Grafana.

@rkooo567
Copy link
Collaborator

rkooo567 commented Jul 6, 2019

Hi, @jacekwachowiak

Based on the prometheus documentation here, https://prometheus.io/docs/prometheus/latest/storage/, metrics are stored at --storage.tsdb.path.

Our specified path will be "--storage.tsdb.path=/prometheus". So you should be able to find data from /prometheus path.

- "--storage.tsdb.path=/prometheus"

@jacekwachowiak
Copy link
Contributor Author

That would mean that if I add the --web.enable-admin-api flag to the configuration file, I should be able to remove data when I want to, following https://www.shellhacks.com/prometheus-delete-time-series-metrics/. Maybe I have to try again. Has anyone tried anything similar?

@rkooo567
Copy link
Collaborator

@jacekwachowiak Could you find the data from the path? Also, what you mean is when you call the api after enabling the flag, you couldn't not delete them?

@jacekwachowiak
Copy link
Contributor Author

I followed the article, to allow the external calls to Prometheus pod and then with a call to remove the data but I saw no change

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

No branches or pull requests

2 participants