diff options
author | binary <me@rgoncalves.se> | 2021-01-22 11:46:52 +0100 |
---|---|---|
committer | binary <me@rgoncalves.se> | 2021-01-22 11:46:52 +0100 |
commit | 642df4fb6653bd67f398a08412e77fda9b2dfe03 (patch) | |
tree | ad50e720154391a3da5fff77143b8c5ca8dcecd4 /roles/grafana/templates | |
parent | 4bedaf8f9b58985fb898784dbec896d031f4de10 (diff) | |
download | infrastructure-642df4fb6653bd67f398a08412e77fda9b2dfe03.tar.gz |
Add grafana to OpenBSD cloud server
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.j2 | 6 |
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 }} |