Просмотр исходного кода

Merge pull request #1860 from aibou/master

Fix and update documents
Torkel Ödegaard 10 лет назад
Родитель
Сommit
d92fae07a5
3 измененных файлов с 6 добавлено и 5 удалено
  1. 3 2
      conf/defaults.ini
  2. 2 2
      conf/sample.ini
  3. 1 1
      docs/sources/installation/configuration.md

+ 3 - 2
conf/defaults.ini

@@ -7,7 +7,7 @@ app_mode = production
 
 
 #################################### Paths ####################################
 #################################### Paths ####################################
 [paths]
 [paths]
-# Path to where grafana can store temp files, sessions, and the sqlite3 db (if that is useD)
+# Path to where grafana can store temp files, sessions, and the sqlite3 db (if that is used)
 #
 #
 data = data
 data = data
 #
 #
@@ -62,7 +62,7 @@ path = grafana.db
 
 
 #################################### Session ####################################
 #################################### Session ####################################
 [session]
 [session]
-# Either "memory", "file", "redis", "mysql", default is "memory"
+# Either "memory", "file", "redis", "mysql", "postgresql", default is "file"
 provider = file
 provider = file
 
 
 # Provider config options
 # Provider config options
@@ -70,6 +70,7 @@ provider = file
 # file: session dir path, is relative to grafana data_path
 # file: session dir path, is relative to grafana data_path
 # redis: config like redis server addr, poolSize, password, e.g. `127.0.0.1:6379,100,grafana`
 # redis: config like redis server addr, poolSize, password, e.g. `127.0.0.1:6379,100,grafana`
 # mysql: go-sql-driver/mysql dsn config string, e.g. `user:password@tcp(127.0.0.1)/database_name`
 # mysql: go-sql-driver/mysql dsn config string, e.g. `user:password@tcp(127.0.0.1)/database_name`
+
 provider_config = sessions
 provider_config = sessions
 
 
 # Session cookie name
 # Session cookie name

+ 2 - 2
conf/sample.ini

@@ -7,7 +7,7 @@
 
 
 #################################### Paths ####################################
 #################################### Paths ####################################
 [paths]
 [paths]
-# Path to where grafana can store temp files, sessions, and the sqlite3 db (if that is useD)
+# Path to where grafana can store temp files, sessions, and the sqlite3 db (if that is used)
 #
 #
 ;data = /var/lib/grafana
 ;data = /var/lib/grafana
 #
 #
@@ -62,7 +62,7 @@
 
 
 #################################### Session ####################################
 #################################### Session ####################################
 [session]
 [session]
-# Either "memory", "file", "redis", "mysql", default is "memory"
+# Either "memory", "file", "redis", "mysql", "postgresql", default is "file"
 ;provider = file
 ;provider = file
 
 
 # Provider config options
 # Provider config options

+ 1 - 1
docs/sources/installation/configuration.md

@@ -219,7 +219,7 @@ set to true, any user successfully authenticating via google auth will be automa
 ## [session]
 ## [session]
 
 
 ### provider
 ### provider
-Valid values are "memory", "file", "mysql", 'postgres'. Default is "memory".
+Valid values are "memory", "file", "mysql", 'postgres'. Default is "file".
 
 
 ### provider_config
 ### provider_config
 This option should be configured differently depending on what type of session provider you have configured.
 This option should be configured differently depending on what type of session provider you have configured.