-
Notifications
You must be signed in to change notification settings - Fork 3.5k
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
Documentation about local installation #2103
Comments
Just in case, i have ansible role here which i use for running simple one-node loki server: https://github.com/rlex/ansible-role-loki |
@rlex Your Ansible role looks really good and is a good indication at what would be good to include in the docs:
The docs should mention that a separate user should be created, for security reasons. It would be really nice to have a Debian package for Loki so I could simply |
I followed this. |
One major issue with that guide is that Loki ends up running as root. You should add
The other thing I'm curious about is that |
…afana#2103) * delete series api and purger to purge data requested for deletion delete_store manages delete requests and purge plan records in stores purger builds delete plans(delete requests sharded by day) and executes them paralelly only one requests per user would be in execution phase at a time delete requests gets picked up for deletion after they get older by more than a day Signed-off-by: Sandeep Sukhani <sandeep.d.sukhani@gmail.com> * moved delete store creation from initStore to initPurger, which is the only component that needs it Signed-off-by: Sandeep Sukhani <sandeep.d.sukhani@gmail.com> * implemented new methods in MockStorage for writing tests Signed-off-by: Sandeep Sukhani <sandeep.d.sukhani@gmail.com> * removed DeleteClient and using IndexClient in DeleteStore Signed-off-by: Sandeep Sukhani <sandeep.d.sukhani@gmail.com> * refactored some code, added some tests for chunk store and purger Signed-off-by: Sandeep Sukhani <sandeep.d.sukhani@gmail.com> * add some tests and fixed some issues found during tests Signed-off-by: Sandeep Sukhani <sandeep.d.sukhani@gmail.com> * changes suggested in PR review Signed-off-by: Sandeep Sukhani <sandeep.d.sukhani@gmail.com> * rebased and fixed conflicts Signed-off-by: Sandeep Sukhani <sandeep.d.sukhani@gmail.com> * updated route for delete handler to look same as prometheus Signed-off-by: Sandeep Sukhani <sandeep.d.sukhani@gmail.com> * added test for purger restarts and fixed some issues Signed-off-by: Sandeep Sukhani <sandeep.d.sukhani@gmail.com> * suggested changes from PR review and fixed linter, tests Signed-off-by: Sandeep Sukhani <sandeep.d.sukhani@gmail.com> * fixed panic in modules when stopping purger Signed-off-by: Sandeep Sukhani <sandeep.d.sukhani@gmail.com> * changes suggested from PR review Signed-off-by: Sandeep Sukhani <sandeep.d.sukhani@gmail.com> * config changes suggested in PR review Signed-off-by: Sandeep Sukhani <sandeep.d.sukhani@gmail.com> * changes suggested from PR review Signed-off-by: Sandeep Sukhani <sandeep.d.sukhani@gmail.com> * updated config doc Signed-off-by: Sandeep Sukhani <sandeep.d.sukhani@gmail.com> * updated changelog Signed-off-by: Sandeep Sukhani <sandeep.d.sukhani@gmail.com> * some changes suggested from PR review Signed-off-by: Sandeep Sukhani <sandeep.d.sukhani@gmail.com> * made init in Purger public to call it from modules to fail early Signed-off-by: Sandeep Sukhani <sandeep.d.sukhani@gmail.com>
Here's a shell script we are using to install and update loki as a system service on Ubuntu/Debian systems. An official apt package would be really nice though!
And the systemd service file (keep this in the same directory as the installation script):
|
The docs section for running Loki locally is not very well furnished see https://github.com/grafana/loki/blob/master/docs/installation/local.md
Would be great to have more on how to get up and running.
Windows and linux seems appropriate.
The text was updated successfully, but these errors were encountered: