Skip to content

armgit / ente

Public Imported from GitHub
0

πŸ’š End-to-end encrypted cloud for everything.

656 B
Raw Blame

Alloy

Install alloy.service on an instance if it is running something whose logs we want in Grafana.

Installing

Replace endpoint.url in the config file with the Loki URL that Alloy should connect to, and move the files to their expected place.

scp services/alloy/{alloy.service,config.alloy} <instance>:

nano config.alloy
sudo mv config.alloy /root/config.alloy
sudo mv alloy.service /etc/systemd/system/alloy.service

Tell systemd to pick up new service definitions, enable the unit (so that it automatically starts on boot), and start it this time around.

sudo systemctl daemon-reload
sudo systemctl enable --now alloy