Update documentation & usage for redis driver

Add password (AUTH) support to redis driver.

Change-Id: I5e3af4848ecce7b0a8a469faa587f54689358d3b
This commit is contained in:
Tovin Seven 2018-06-01 10:27:45 +07:00
parent 56e5ce42e7
commit f2ed61fe72
2 changed files with 4 additions and 3 deletions

View File

@ -25,7 +25,7 @@ that control this:
Possible values:
* ``messaging://`` - use messaging as trace collector (with the transport configured by oslo.messaging)
* ``redis://host:port`` - use Redis as trace storage
* ``redis://[:password]@host[:port][/db]`` - use Redis as trace storage
* ``elasticsearch://host:port`` - use Elasticsearch as trace storage
* ``mongodb://host:port`` - use MongoDB as trace storage
* ``loginsight://username:password@host`` - use LogInsight as trace collector/storage

View File

@ -26,8 +26,9 @@ Redis
* Usage
The driver is used by OSProfiler when using a connection-string URL
of the form redis://<hostname>:<port>. To use the Sentinel version
use a connection-string of the form redissentinel://<hostname>:<port>
of the form redis://[:password]@host[:port][/db]. To use the Sentinel version
use a connection-string of the form
redissentinel://[:password]@host[:port][/db]
* Configuration