ports/sysutils/grafana/patches/patch-conf_sample_ini

55 lines
2 KiB
Text
Raw Normal View History

2023-08-16 22:26:55 +00:00
Index: conf/sample.ini
--- conf/sample.ini.orig
+++ conf/sample.ini
@@ -15,19 +15,19 @@
#################################### Paths ####################################
[paths]
# Path to where grafana can store temp files, sessions, and the sqlite3 db (if that is used)
-;data = /var/lib/grafana
+data = /var/grafana
# Temporary files in `data` directory older than given duration will be removed
;temp_data_lifetime = 24h
# Directory where grafana can store logs
-;logs = /var/log/grafana
+logs = /var/log/grafana
# Directory where grafana will automatically scan and look for plugins
-;plugins = /var/lib/grafana/plugins
+plugins = /var/grafana/plugins
# folder that contains provisioning config files that grafana will apply on startup and while running.
-;provisioning = conf/provisioning
+provisioning = ${SYSCONFDIR}/grafana/provisioning
#################################### Server ####################################
[server]
2023-09-08 05:21:37 +00:00
@@ -243,7 +243,7 @@
2023-08-16 22:26:55 +00:00
# No ip addresses are being tracked, only simple counters to track
# running instances, dashboard and error counts. It is very helpful to us.
# Change this option to false to disable reporting.
-;reporting_enabled = true
+reporting_enabled = false
# The name of the distributor of the Grafana instance. Ex hosted-grafana, grafana-labs
;reporting_distributor = grafana-labs
2023-09-08 05:21:37 +00:00
@@ -253,7 +253,7 @@
2023-08-16 22:26:55 +00:00
# in some UI views to notify that a grafana update exists.
# This option does not cause any auto updates, nor send any information
# only a GET request to https://raw.githubusercontent.com/grafana/grafana/main/latest.json to get the latest version.
-;check_for_updates = true
+check_for_updates = false
# Set to false to disable all checks to https://grafana.com
# for new versions of plugins. The check is used
2023-09-08 05:21:37 +00:00
@@ -848,7 +848,7 @@
2023-08-16 22:26:55 +00:00
[log]
# Either "console", "file", "syslog". Default is console and file
# Use space to separate multiple modes, e.g. "console file"
-;mode = console file
+mode = file
# Either "debug", "info", "warn", "error", "critical", default is "info"
;level = info