grafana-ansible-collection
grafana.grafana Ansible 集合提供模組與角色,用於管理 Grafana Cloud 上的各種資源,以及管理與部署 Grafana Agent 與 G。
grafana-ansible-collection 是什麼?
grafana.grafana Ansible 集合提供模組與角色,用於管理 Grafana Cloud 上的各種資源,以及管理與部署 Grafana Agent 與 Grafana。
grafana-ansible-collection 概覽
這是什麼
grafana.grafana Ansible 集合提供模組與角色,用於管理 Grafana Cloud 上的各種資源,以及透過 Ansible 管理與部署 Grafana Agent、OpenTelemetry Collector、Loki、Mimir、Alloy 和 Promtail。 此集合經測試支援 Ansible >= 2.9。
主要功能
- 包含安裝與設定 Grafana、Grafana Agent、Alloy、OpenTelemetry Collector、Loki、Mimir 和 Promtail 的角色。
- 提供管理 Grafana Cloud 資源(例如 cloud stacks)的模組。
- 支援自動化將指標、日誌和追蹤資料傳送至 Grafana Cloud 或其他端點。
- 遵循語意化版本控制進行發行。
- 採用 GPL-3.0-or-later 授權。
使用情境
- 在多台主機上自動化部署與設定 Grafana 及相關可觀測性工具。
- 透過 Ansible playbook 以程式化方式管理 Grafana Cloud 資源(例如 stacks)。
- 設定使用 Loki 進行日誌聚合、使用 Mimir 進行指標儲存,以及使用 Grafana Agent 或 Alloy 進行資料收集。
快速開始
使用 ansible-galaxy 安裝此集合: shell ansible-galaxy collection install grafana.grafana 或將其加入 requirements.yml 檔案: ```yaml --- collections:
- name: grafana.grafana ``` 然後執行
ansible-galaxy collection install -r requirements.yml。
授權與價格
此集合採用 GPL-3.0-or-later 授權。為開源軟體(未提及價格資訊)。
內容整理自該專案公開的 README 與儲存庫資訊。