-
Notifications
You must be signed in to change notification settings - Fork 85
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
stats endpoint #370
Comments
Depending on your data it could be OK or not. If the input file is ill-formed you won't see any error message while running this command |
I restarted docker container, stats endpoint now shows volume_0 free space changed. Where is WAL stored? How do I check the disk space used by WAL? Can WAL size be configured?
This is what I see under /tmp/akumuli:
Looks like timeseries tags and other metadata are stored in db.akumuli which is a SQLite db. Will the metadata be auto deleted if the associated time-series expires and no new series for that object is added? |
WAL is configured in the config file. There is a WAL section in the automatically generated config and it has reasonalbe defaults. It also has a path to WAL storage. But normally you won't be able to locate any files if the database is stopped. You will be able to see the files if the database is running or crashed.
|
WAL is disabled by default. I'm using docker version "0.8.72-skylake". I looked at the config file This is from the log:
|
I see. The config in docker image is hardcoded and it doesn't have a wal section. I probably should enable it by default in docker. I'll look into that. You can try to run |
Thanks @Lazin, I will try to run akumulid locally with WAL settings. |
I'm running Akumuli in a test environment. It is running in a docker with number of volumes as 6 and volume size as 500 MB:
sudo docker run -d --memory="300m" -p 8181:8181 -p 8282:8282 -p 8383:8383 -p 4242:4242 -v /tmp/akumuli:/Akumuli -e nvolumes=6 -e volume_size=500MB akumuli/akumuli:0.8.72-skylake
Used OpenTSDB protocol to ingest around 12 millions time series:
time cat tsdb_mock.txt > /dev/tcp/127.0.0.1/4242
I verified that data was loaded by running query. However, stats end point still shows 512MB of free space for all 6 volumes. Is there a different query to get current available or free space?
curl -s --url localhost:8181/api/stats
The text was updated successfully, but these errors were encountered: