Update monitor-multiple-instances.md

This commit is contained in:
Ishan Jain 2023-04-06 12:34:38 +05:30 committed by GitHub
parent 70f9afed1c
commit 527020bde6
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -72,12 +72,12 @@ To use the Grafana Agent Ansible role:
grafana_cloud_api_key: <Your Grafana.com API Key> # Example - eyJrIjoiYjI3NjI5MGQxZTcyOTIxYTc0MDgzMGVhNDhlODNhYzA5OTk2Y2U5YiIsIm4iOiJhbnNpYmxldGVzdCIsImlkIjo2NTI5 grafana_cloud_api_key: <Your Grafana.com API Key> # Example - eyJrIjoiYjI3NjI5MGQxZTcyOTIxYTc0MDgzMGVhNDhlODNhYzA5OTk2Y2U5YiIsIm4iOiJhbnNpYmxldGVzdCIsImlkIjo2NTI5
metrics_username: <prometheus-username> # Example - 825019 metrics_username: <prometheus-username> # Example - 825019
logs_username: <loki-username> # Example - 411478 logs_username: <loki-username> # Example - 411478
prometheus_url: <prometheus-push-url> # Example - https://prometheus-us-central1.grafana.net/api/prom/pus prometheus_url: <prometheus-push-url> # Example - https://prometheus-us-central1.grafana.net/api/prom/push
loki_url: <loki-push-url> # Example - https://logs-prod-017.grafana.net/loki/api/v1/push loki_url: <loki-push-url> # Example - https://logs-prod-017.grafana.net/loki/api/v1/push
tasks: tasks:
- name: Install Grafana Agent - name: Install Grafana Agent
ansible.builtin.include_role: ansible.builtin.include_role:
name: grafana_agent name: grafana.grafana.grafana_agent
vars: vars:
grafana_agent_metrics_config: grafana_agent_metrics_config:
configs: configs: