Grafana Alloy
TrialFactorial rates Alloy as Trial (2026). We roll out Alloy with Ansible to ship logs from our servers to Loki.
Alloy is Grafana's distribution of the OpenTelemetry Collector, and the successor of Grafana Agent and Promtail. One agent per host or cluster reads log files, the systemd journal and container logs, scrapes metrics and receives OTLP traces, and sends them on to Loki, Mimir, Tempo or any OTLP backend.
Its configuration is written as pipelines of components, which makes it possible to filter, relabel and route telemetry before it leaves the host.
Updates
We roll out Alloy with Ansible to ship logs from our servers to Loki. The role discovers the running services (nginx, PHP-FPM, databases, Docker, GitLab runners and more) and configures one log source per service. Noisy sources such as the full systemd journal have to be enabled explicitly. Next, we are assessing Alloy for metrics into Mimir as a replacement for parts of our classic host monitoring.