Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/federicoantoniazzi/ansible-role-grafana_agent
Grafana Agent for Linux
https://github.com/federicoantoniazzi/ansible-role-grafana_agent
agent ansible ansible-role grafana grafana-agent monitoring
Last synced: 26 days ago
JSON representation
Grafana Agent for Linux
- Host: GitHub
- URL: https://github.com/federicoantoniazzi/ansible-role-grafana_agent
- Owner: FedericoAntoniazzi
- License: mit
- Created: 2023-09-07T19:28:11.000Z (about 1 year ago)
- Default Branch: master
- Last Pushed: 2023-09-07T19:44:35.000Z (about 1 year ago)
- Last Synced: 2024-01-29T09:46:00.691Z (9 months ago)
- Topics: agent, ansible, ansible-role, grafana, grafana-agent, monitoring
- Homepage:
- Size: 4.88 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# grafana_agent
Install Grafana Agent on Linux.
**What is Grafana Agent**:
Grafana Agent is a vendor-neutral, batteries-included telemetry collector developed by Grafana Labs.
It is designed to be flexible, performant, and compatible with multiple ecosystems such as Prometheus and OpenTelemetry.## Requirements
None.
## Role Variables
All the variables are listed and documented inside the [defaults directory](./defaults/main.yml),
but there's a list of main variables:| Variable | Default | Description |
| -------- | ------- | ----------- |
| `grafana_agent_variant` | `static` | Choose the Grafana Agent flavour to install |
| `grafana_agent_config_local_path` | `""` | Local path to the Grafana Agent configuration file to upload to the remove host |## Dependencies
None.
## Example Playbook
```yaml
- name: Install Grafana Agent
become: true
hosts: all
vars:
grafana_agent_variant: "flow"
grafana_agent_config_local_path: "{{ playbook_dir }}/files/config.river"
roles:
- grafana_agent
```## License
MIT
## Author Information
FedericoAntoniazzi ([website](https://federicoantoniazzi.dev))