From 70f9afed1cfe4930a6a03108a93e1f6349c1b0cd Mon Sep 17 00:00:00 2001 From: Ishan Jain <51803183+ishanjainn@users.noreply.github.com> Date: Mon, 27 Mar 2023 10:59:55 +0530 Subject: [PATCH] Update monitor-multiple-instances.md --- examples/monitor-multiple-instances.md | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/examples/monitor-multiple-instances.md b/examples/monitor-multiple-instances.md index 9b78084..9a5da9a 100644 --- a/examples/monitor-multiple-instances.md +++ b/examples/monitor-multiple-instances.md @@ -123,15 +123,13 @@ To use the Grafana Agent Ansible role: url: "{{ prometheus_url }}" ``` - The playbook calls the `grafana_agent` role from the `grafana.grafana` Ansible collection. - + The playbook calls the `grafana_agent` role from the `grafana.grafana` Ansible collection. The Agent configuration in this playbook send metrics and logs from the linux hosts to your prometheus and Loki data sources. Refer to the [Grafana Ansible documentation](https://github.com/grafana/grafana-ansible-collection/tree/main/roles/grafana_agent#role-variables) to understand the other variables you can pass to the `grafana_agent` role. When deploying the Agent across multiple instances for monitoring them, It is essential that the Agent is able to auto-detect the hostname for ease in monitoring. Notice that the label `instance` has been set to the value `${HOSTNAME:-default}`, which is substituted by the value of the HOSTNAME environment variable in the Linux host. - To read more about the variable substitution, refer to the Grafana Agent [node_exporter_config](https://grafana.com/docs/agent/latest/configuration/integrations/node-exporter-config/) documentation. 1. To run the playbook, run this command: