Update osprofiler about doc
Update doc to use new style conf about osprofiler Change-Id: I52d2519399951d959a033d378fae5e93e6f3a662
This commit is contained in:
parent
a3e5a3b8f3
commit
0e6400a154
|
@ -81,14 +81,11 @@ will add the profiler notifier to your ceilometer::
|
||||||
|
|
||||||
Enable the profiler in /etc/heat/heat.conf::
|
Enable the profiler in /etc/heat/heat.conf::
|
||||||
|
|
||||||
$ echo -e "[profiler]\nprofiler_enabled = True\n"\
|
$ echo -e "[profiler]\nenabled = True\n"\
|
||||||
"trace_sqlalchemy = True\n"\
|
"trace_sqlalchemy = True\n"\
|
||||||
|
"hmac_keys = SECRET_KEY\n"\
|
||||||
>> /etc/heat/heat.conf
|
>> /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
|
|
||||||
|
|
||||||
Run any command with --profile SECRET_KEY::
|
Run any command with --profile SECRET_KEY::
|
||||||
|
|
||||||
$ heat --profile SECRET_KEY stack-list
|
$ heat --profile SECRET_KEY stack-list
|
||||||
|
@ -96,7 +93,7 @@ Run any command with --profile SECRET_KEY::
|
||||||
|
|
||||||
Get pretty HTML with traces::
|
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.
|
Note that osprofiler should be run with the admin user name & tenant.
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue