mirror of
https://github.com/ansible/awx.git
synced 2026-03-06 19:21:06 -03:30
add the ability to generate dot graphs for per-request profiling
This commit is contained in:
@@ -1208,6 +1208,19 @@ SILENCED_SYSTEM_CHECKS = ['models.E006']
|
||||
# Use middleware to get request statistics
|
||||
AWX_REQUEST_PROFILE = False
|
||||
|
||||
#
|
||||
# Optionally, AWX can generate DOT graphs
|
||||
# (http://www.graphviz.org/doc/info/lang.html) for per-request profiling
|
||||
# via gprof2dot (https://github.com/jrfonseca/gprof2dot)
|
||||
#
|
||||
# If you set this to True, you must `/var/lib/awx/venv/awx/bin/pip install gprof2dot`
|
||||
# .dot files will be saved in `/var/log/tower/profile/` and can be converted e.g.,
|
||||
#
|
||||
# ~ yum install graphviz
|
||||
# ~ dot -o profile.png -Tpng /var/log/tower/profile/some-profile-data.dot
|
||||
#
|
||||
AWX_REQUEST_PROFILE_WITH_DOT = False
|
||||
|
||||
# Delete temporary directories created to store playbook run-time
|
||||
AWX_CLEANUP_PATHS = True
|
||||
|
||||
|
||||
Reference in New Issue
Block a user