haad / ansible-role-grafana_agent

Installs Grafana Cloud Agent on RedHat/CentOS or Debian/Ubuntu servers to collect observability data and sends it to Grafana Cloud.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Ansible Role: Grafana Cloud Agent

Ansible Lint Ansible Role Quality Score Downloads

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

Requirements

None. Other than an account on Grafana Cloud -> Create account.

Role Variables

Dependencies

None.

Example Playbook

- hosts: server
  roles:
    - { role: haad.grafana_agent }

License

GPL-3.0 License

Author Information

This role was created in 2021 by Nicolas Leiva. This role was refactored/updated in 2022 by Adam Hamsik.

About

Installs Grafana Cloud Agent on RedHat/CentOS or Debian/Ubuntu servers to collect observability data and sends it to Grafana Cloud.

License:GNU General Public License v3.0


Languages

Language:Jinja 60.0%Language:Makefile 40.0%