summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTovin Seven <vinhnt@vn.fujitsu.com>2018-06-01 10:27:45 +0700
committerTovin Seven <vinhnt@vn.fujitsu.com>2018-06-01 10:32:34 +0700
commitf2ed61fe7212b0bc56c07aa8ddac31510ad43754 (patch)
treef71866416f29fca1535bef79cdff261a44ef5c89
parent56e5ce42e7ba6adb58371ef5025a59f9bf353cd3 (diff)
downloadosprofiler-f2ed61fe7212b0bc56c07aa8ddac31510ad43754.tar.gz
Update documentation & usage for redis driver
Add password (AUTH) support to redis driver. Change-Id: I5e3af4848ecce7b0a8a469faa587f54689358d3b
-rw-r--r--devstack/README.rst2
-rw-r--r--doc/source/user/collectors.rst5
2 files changed, 4 insertions, 3 deletions
diff --git a/devstack/README.rst b/devstack/README.rst
index e1376c9..97361ae 100644
--- a/devstack/README.rst
+++ b/devstack/README.rst
@@ -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
diff --git a/doc/source/user/collectors.rst b/doc/source/user/collectors.rst
index 359d547..e163d57 100644
--- a/doc/source/user/collectors.rst
+++ b/doc/source/user/collectors.rst
@@ -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