summaryrefslogtreecommitdiff
path: root/etc/api-paste.ini
diff options
context:
space:
mode:
authorJonathan Rosser <jonathan.rosser@rd.bbc.co.uk>2018-07-17 20:45:54 +0000
committerJonathan Rosser <jonathan.rosser@rd.bbc.co.uk>2018-07-17 20:58:25 +0000
commit0fe31bc8aea8b01d64f75b98510e94714d0d07f7 (patch)
tree83f7425dbbe9b3564af279143b1e0b5441e07599 /etc/api-paste.ini
parent3be1cd2fc412978e2bce93c7cc0e7a79368a2e79 (diff)
downloadneutron-0fe31bc8aea8b01d64f75b98510e94714d0d07f7.tar.gz
Add osprofiler to api-paste pipeline
The osprofiler filter is included in the standard pipelines for nova, glance, cinder, heat, magnum [1], but is missing for neutron. This means when a deployment uses profiling, there is a gap in the data collected when the neutron API is executing. [1] https://github.com/openstack/openstack-ansible-os_nova/blob/master/templates/api-paste.ini.j2#L31-L32 Change-Id: I8e45888968cde8ca29548447d0b0bc00ae569fc1 Closes-Bug: #1781619
Diffstat (limited to 'etc/api-paste.ini')
-rw-r--r--etc/api-paste.ini4
1 files changed, 2 insertions, 2 deletions
diff --git a/etc/api-paste.ini b/etc/api-paste.ini
index f79088c358..8e8cf283b5 100644
--- a/etc/api-paste.ini
+++ b/etc/api-paste.ini
@@ -5,8 +5,8 @@ use = egg:Paste#urlmap
[composite:neutronapi_v2_0]
use = call:neutron.auth:pipeline_factory
-noauth = cors http_proxy_to_wsgi request_id catch_errors extensions neutronapiapp_v2_0
-keystone = cors http_proxy_to_wsgi request_id catch_errors authtoken keystonecontext extensions neutronapiapp_v2_0
+noauth = cors http_proxy_to_wsgi request_id catch_errors osprofiler extensions neutronapiapp_v2_0
+keystone = cors http_proxy_to_wsgi request_id catch_errors osprofiler authtoken keystonecontext extensions neutronapiapp_v2_0
[composite:neutronversions_composite]
use = call:neutron.auth:pipeline_factory