diff --git a/doc/source/admin/osprofiler.rst b/doc/source/admin/osprofiler.rst
index c47506435..f16fa9852 100644
--- a/doc/source/admin/osprofiler.rst
+++ b/doc/source/admin/osprofiler.rst
@@ -34,7 +34,7 @@ Install Redis as the `centralized collector
Redis in container is easy to launch, `choose Redis Docker
`_ and run::
- docker run --name some-redis -p 6379:6379 -d redis
+ $ docker run --name some-redis -p 6379:6379 -d redis
Now there is a redis database which has an expose port to access. OSProfiler
will send data to this key-value database.
@@ -57,9 +57,11 @@ service just in screen. Use "systemctl restart apache2" will work).
Use below commands to get the trace information::
- $ zun --profile SECRET_KEY list
- # you will get a for trace
- $ osprofiler trace show --connection-string=redis://:6379 --html
+ $ zun --profile SECRET_KEY list
+
+Use , you will get a for trace::
+
+ $ osprofiler trace show --connection-string=redis://:6379 --html
Troubleshooting
@@ -68,7 +70,7 @@ Troubleshooting
How to check whether the integration is fine:
Stop the Redis container, then run the command::
- zun --profile SECRET_KEY list
+ $ zun --profile SECRET_KEY list
In the zun-api log, will see "ConnectionError: Error 111 connecting to
:6379. ECONNREFUSED." That means that osprofiler will write