Installs Grafana Cloud Agent on RedHat/CentOS or Debian/Ubuntu servers to collect observability data and sends it to Grafana Cloud.
This role installs and configures the latest version of Grafana Cloud Agent from GitHub releases. It also creates a systemd service to manage the agent.
It optionally installs Promtail, which is an agent which ships the contents of local logs to Grafana Cloud (Loki).
WHY? => Monitoring your home lab devices in the cloud for free
None. Other than an account on Grafana Cloud -> Create account.
None.
- hosts: server
roles:
- { role: haad.grafana_agent }
GPL-3.0 License
This role was created in 2021 by Nicolas Leiva. This role was refactored/updated in 2022 by Adam Hamsik.