infra/ansible/roles/grafana/templates/grafana.ini.j2
Graham McIntire 922552059f
prom: add prometheus stack (prometheus, alertmanager, grafana, node_exporter)
Provisions prom.w5isp.com (10.0.15.31) as the home-cluster monitoring host.
Prometheus 3.6.0 scrapes the Talos cluster API/nodes/cAdvisor via an external
SA token; Grafana ships with the Prometheus datasource pre-provisioned.

host_vars opens 9090/9093/9100/3000 to 10.0.0.0/16 plus SSH from the home LAN
so the firewall role doesn't lock out admin access.
2026-05-08 09:50:31 -05:00

21 lines
417 B
Django/Jinja

{{ ansible_managed | comment }}
[server]
http_addr = {{ grafana_listen_address }}
http_port = {{ grafana_http_port }}
root_url = {{ grafana_root_url }}
[security]
admin_user = {{ grafana_admin_user }}
admin_password = {{ grafana_admin_password }}
[analytics]
reporting_enabled = false
check_for_updates = false
check_for_plugin_updates = false
[users]
allow_sign_up = false
[log]
mode = console file
level = info