aboutsummaryrefslogtreecommitdiffstats
path: root/roles/grafana/templates
diff options
context:
space:
mode:
Diffstat (limited to 'roles/grafana/templates')
-rw-r--r--roles/grafana/templates/grafana.conf.nginx.j2 (renamed from roles/grafana/templates/grafana_reverse.conf.j2)0
-rw-r--r--roles/grafana/templates/grafana.ini.j26
2 files changed, 3 insertions, 3 deletions
diff --git a/roles/grafana/templates/grafana_reverse.conf.j2 b/roles/grafana/templates/grafana.conf.nginx.j2
index c0f926c..c0f926c 100644
--- a/roles/grafana/templates/grafana_reverse.conf.j2
+++ b/roles/grafana/templates/grafana.conf.nginx.j2
diff --git a/roles/grafana/templates/grafana.ini.j2 b/roles/grafana/templates/grafana.ini.j2
index 16453b8..75de264 100644
--- a/roles/grafana/templates/grafana.ini.j2
+++ b/roles/grafana/templates/grafana.ini.j2
@@ -15,7 +15,7 @@ instance_name = <rgoncalves.se monitoring>
#################################### Paths ####################################
[paths]
# Path to where grafana can store temp files, sessions, and the sqlite3 db (if that is used)
-;data = /var/lib/grafana
+data = {{ grafana_dir }}
# Temporary files in `data` directory older than given duration will be removed
;temp_data_lifetime = 24h
@@ -24,7 +24,7 @@ instance_name = <rgoncalves.se monitoring>
;logs = /var/log/grafana
# Directory where grafana will automatically scan and look for plugins
-;plugins = /var/lib/grafana/plugins
+;plugins = {{ grafana_dir }}/plugins
# folder that contains provisioning config files that grafana will apply on startup and while running.
;provisioning = conf/provisioning
@@ -35,7 +35,7 @@ instance_name = <rgoncalves.se monitoring>
;protocol = http
# The ip address to bind to, empty will bind to all interfaces
-;http_addr = 192.168.5.1
+http_addr =
# The http port to use
http_port = {{ grafana_port }}
remember that computers suck.