Add display-name to freezer-api Apache config

This adds 'display-name=%{GROUP}' to the freezer-api Apache template.
Currently, freezer-api's processes are all named 'httpd' making it
impossible for monitoring tools like monasca to find the correct
processes to watch. By setting 'display-name', the process will be
renamed to the process group ('freezer-api') making it possible to
monitor.

Change-Id: Ia247843d77f9b9148907e1cec80f47fdd394532b
This commit is contained in:
Tim Buckley 2016-07-11 10:06:38 -06:00
parent 6f8455d632
commit 6cbd0424f1
2 changed files with 2 additions and 2 deletions

View File

@ -130,7 +130,7 @@ Correct Example::
# sudo vi /etc/apache2/sites-enabled/freezer-api.conf
<VirtualHost ...>
WSGIDaemonProcess freezer-api processes=2 threads=2 user=freezer
WSGIDaemonProcess freezer-api processes=2 threads=2 user=freezer display-name=%{GROUP}
WSGIProcessGroup freezer-api
WSGIApplicationGroup freezer-api
WSGIScriptAlias / /opt/stack/freezer_api/cmd/wsgi.py

View File

@ -1,7 +1,7 @@
Listen %SERVICE_HOST%:%FREEZER_API_PORT%
<VirtualHost *:%FREEZER_API_PORT%>
WSGIDaemonProcess freezer-api processes=2 threads=2 user=%USER%
WSGIDaemonProcess freezer-api processes=2 threads=2 user=%USER% display-name=%{GROUP}
WSGIProcessGroup freezer-api
WSGIApplicationGroup freezer-api
WSGIScriptAlias / %FREEZER_API_DIR%/freezer_api/cmd/wsgi.py