arillso.agents.grafana role – Install Grafana Agent
Note
This role is part of the arillso.agents collection (version 0.0.12).
It is not included in ansible-core.
To check whether it is installed, run ansible-galaxy collection list.
To install it use: ansible-galaxy collection install arillso.agents.
To use it in a playbook, specify: arillso.agents.grafana.
Entry point configure_grafana_debian – Configure the Grafana Agent on Debian-based systems
Synopsis
Configures the Grafana Agent on Debian-based systems using the specified configuration file.
Parameters
Parameter  | 
Comments  | 
|---|---|
The path to the Grafana Agent configuration file. Default:   | 
|
Additional command-line arguments to pass to the Grafana Agent service. Default:   | 
|
Configuration options for Grafana Agent integrations. Default:   | 
|
The directory where Grafana Agent log positions are stored. Default:   | 
|
Configuration options for Grafana Agent metrics collection. Default:   | 
|
Whether to restart the Grafana Agent service when upgrading to a new version. Default:   | 
|
Configuration options for the Grafana Agent server. Default:   | 
Entry point configure_grafana_redhat – Configure Grafana Agent on Red Hat based systems
Synopsis
Configures the Grafana Agent on Red Hat based systems.
Parameters
Parameter  | 
Comments  | 
|---|---|
The path to the Grafana Agent configuration file. Default:   | 
|
Additional command-line arguments to pass to the Grafana Agent service. Default:   | 
|
Configuration options for Grafana Agent integrations. Default:   | 
|
The directory where Grafana Agent log positions are stored. Default:   | 
|
Configuration options for Grafana Agent metrics collection. Default:   | 
|
Whether to restart the Grafana Agent service when upgrading to a new version. Default:   | 
|
Configuration options for the Grafana Agent server. Default:   | 
Entry point configure_grafana_windows – Configure Grafana Agent on Windows
Synopsis
Configures the Grafana Agent on Windows systems.
Parameters
Parameter  | 
Comments  | 
|---|---|
The path to the Grafana Agent configuration file. Default:   | 
|
Additional command-line arguments to pass to the Grafana Agent service. Default:   | 
|
Configuration options for Grafana Agent integrations. Default:   | 
|
The directory where Grafana Agent log positions are stored. Default:   | 
|
Configuration options for Grafana Agent metrics collection. Default:   | 
|
Whether to restart the Grafana Agent service when upgrading to a new version. Default:   | 
|
Configuration options for the Grafana Agent server. Default:   | 
Entry point install_grafana_debian – Install Grafana Agent on Debian based systems
Synopsis
Installs the Grafana Agent on Debian based systems.
Parameters
Parameter  | 
Comments  | 
|---|---|
The version of the Grafana Agent to install. Can be a specific version (e.g., “0.18.2”) or “latest” to install the latest release. By default, “latest” will be used. Default:   | 
Entry point install_grafana_redhat – Install Grafana Agent on Red Hat based systems
Synopsis
Installs the Grafana Agent on Red Hat based systems.
Parameters
Parameter  | 
Comments  | 
|---|---|
The version of the Grafana Agent to install. Can be a specific version (e.g., “0.18.2”) or “latest” to install the latest release. By default, “latest” will be used. Default:   | 
Entry point install_grafana_windows – Install Grafana Agent on Windows
Synopsis
Installs the Grafana Agent on Windows systems.
Parameters
Parameter  | 
Comments  | 
|---|---|
The version of the Grafana Agent to install. Can be a specific version (e.g., “0.18.2”) or “latest” to install the latest release. By default, “latest” will be used. Default:   | 
Entry point main – Install Grafana Agent
Synopsis
Installs the Grafana Agent on the target system.
By default, the latest release of the Grafana Agent will be installed.
Parameters
Parameter  | 
Comments  | 
|---|---|
The path to the Grafana Agent configuration file. Default:   | 
|
Additional command-line arguments to pass to the Grafana Agent service. Default:   | 
|
Configuration options for Grafana Agent integrations. Default:   | 
|
The log level for the Grafana Agent service. Default:   | 
|
The directory where Grafana Agent log positions are stored. Default:   | 
|
Configuration options for Grafana Agent metrics collection. Default:   | 
|
Whether to restart the Grafana Agent service when upgrading to a new version. Default:   | 
|
Configuration options for the Grafana Agent server. Default:   | 
|
The version of the Grafana Agent to install. Can be a specific version (e.g., “0.18.2”) or “latest” to install the latest release. By default, “latest” will be used. Default:   |