diff options
author | Zuul <zuul@review.opendev.org> | 2019-10-22 02:38:22 +0000 |
---|---|---|
committer | Gerrit Code Review <review@openstack.org> | 2019-10-22 02:38:22 +0000 |
commit | 9f3ea0a63e6b0702dd88bc230af9ddf13621e017 (patch) | |
tree | 24856352f56fd27eb85fcd2f580c977c2f26ad1c | |
parent | 970e33e637f3965d325640654c30c8fe6b268ec7 (diff) | |
parent | 0e6400a15493a4fbbcb25816609ae19f5ff081ec (diff) | |
download | heat-9f3ea0a63e6b0702dd88bc230af9ddf13621e017.tar.gz |
Merge "Update osprofiler about doc"
-rw-r--r-- | doc/source/getting_started/on_devstack.rst | 13 |
1 files changed, 5 insertions, 8 deletions
diff --git a/doc/source/getting_started/on_devstack.rst b/doc/source/getting_started/on_devstack.rst index 6fb850cc9..ae5ecaa3a 100644 --- a/doc/source/getting_started/on_devstack.rst +++ b/doc/source/getting_started/on_devstack.rst @@ -81,13 +81,10 @@ will add the profiler notifier to your ceilometer:: Enable the profiler in /etc/heat/heat.conf:: - $ echo -e "[profiler]\nprofiler_enabled = True\n"\ - "trace_sqlalchemy = True\n"\ - >> /etc/heat/heat.conf - -Change the default hmac_key in /etc/heat/api-paste.ini:: - - $ sed -i "s/hmac_keys =.*/hmac_keys = SECRET_KEY/" /etc/heat/api-paste.ini + $ echo -e "[profiler]\nenabled = True\n"\ + "trace_sqlalchemy = True\n"\ + "hmac_keys = SECRET_KEY\n"\ + >> /etc/heat/heat.conf Run any command with --profile SECRET_KEY:: @@ -96,7 +93,7 @@ Run any command with --profile SECRET_KEY:: Get pretty HTML with traces:: - $ osprofiler trace show --html <Profile ID> + $ osprofiler trace show --html <Trace ID> Note that osprofiler should be run with the admin user name & tenant. |