The role installs the Grafana Agent and configures it.
All the configuration options for the grafana_server
section and server_config
respectively
can be found on the documentation page of Grafana Labs:
https://grafana.com/docs/agent/latest/configuration/server-config/
grafana_server:
log_level: warn
All the configuration options for the grafana_metrics
section and metrics_config
respectively
can be found on the documentation page of Grafana Labs:
https://grafana.com/docs/agent/latest/configuration/metrics-config/
grafana_metrics:
global:
scrape_interval: 1m
configs:
- name: integrations
All the configuration options for the grafana_integrations
section and integrations_config
respectively
can be found on the documentation page of Grafana Labs:
https://grafana.com/docs/agent/latest/configuration/integrations/
grafana_integrations:
agent:
enabled: true
All the configuration options for the grafana_logs
section and logs_config
respectively
can be found on the documentation page of Grafana Labs:
https://grafana.com/docs/agent/latest/configuration/logs-config/
grafana_logs:
positions_directory: "C:\\ProgramData\\grafana-agent-logs"