diff --git a/conf/defaults.ini b/conf/defaults.ini index 5d1d1831cb3..bd1a069c744 100644 --- a/conf/defaults.ini +++ b/conf/defaults.ini @@ -72,7 +72,7 @@ provider = file # Provider config options # memory: not have any config yet # 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 e.g. `addr=127.0.0.1:6379,pool_size=100,db=grafana` # postgres: user=a password=b host=localhost port=5432 dbname=c sslmode=disable # mysql: go-sql-driver/mysql dsn config string, e.g. `user:password@tcp(127.0.0.1)/database_name` diff --git a/conf/sample.ini b/conf/sample.ini index cd01c588766..2ac1fd6ee1e 100644 --- a/conf/sample.ini +++ b/conf/sample.ini @@ -72,7 +72,7 @@ # Provider config options # memory: not have any config yet # 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 e.g. `addr=127.0.0.1:6379,pool_size=100,db=grafana` # mysql: go-sql-driver/mysql dsn config string, e.g. `user:password@tcp(127.0.0.1)/database_name` # postgres: user=a password=b host=localhost port=5432 dbname=c sslmode=disable ;provider_config = sessions