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

Configure loki #144

Merged
merged 17 commits into from
Feb 10, 2025
Merged

Configure loki #144

merged 17 commits into from
Feb 10, 2025

Conversation

nbenmoody
Copy link
Collaborator

@nbenmoody nbenmoody commented Jan 15, 2025

Description

This PR collects up work required to install and configure a Loki server on a new Droplet. Given that so much peripheral work was needed amongst these scripts, since the new Droplet for Loki is being created using the new terraform provisioning process, there are a lot of changes across these scripts along with the Loki configuration.

Related Issues

Changes Made

  • I created a new role to handle all the tasks required for ssh keys and hardening, to replace the original harden role.
  • I added a draft playbook/inventory/role for Loki installation and configuration.
  • I deprecated the old new-do-droplet playbook.

Additional Notes

This installs and configures the Loki server itself, but integration with our existing Grafana instance is another step (to be carried out manually, for now). This also does not configure the agents that will push logs to Loki, which will come as a next PR here.

Copy link
Member

@mplorentz mplorentz left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM so far.

inventories/loki/inventory.yml Show resolved Hide resolved
roles/loki/tasks/main.yml Outdated Show resolved Hide resolved
@nbenmoody nbenmoody requested a review from mplorentz January 18, 2025 16:04
@nbenmoody
Copy link
Collaborator Author

@mplorentz - This PR is now ready for full review. The Loki server has been configured using it, and is standing up at loki.planetary.tools, and integrated as a datasource in Grafana now.

README.md Outdated Show resolved Hide resolved
@nbenmoody nbenmoody requested a review from mplorentz February 10, 2025 01:51
@nbenmoody nbenmoody merged commit f6eb168 into main Feb 10, 2025
@nbenmoody nbenmoody deleted the configure-loki branch February 10, 2025 23:58
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

Successfully merging this pull request may close these issues.

2 participants