support request-id
enable request-id similar to other OpenStack projects to help track specific requests. Change-Id: Ie5126ff462eef70400e45d2966aa16d1c7345618 Closes-Bug: #1244182
This commit is contained in:
parent
348def3438
commit
43bc7b617c
@ -5,7 +5,7 @@
|
||||
|
||||
# Remove authtoken from the pipeline if you don't want to use keystone authentication
|
||||
[pipeline:main]
|
||||
pipeline = authtoken api-server
|
||||
pipeline = request_id authtoken api-server
|
||||
|
||||
[app:api-server]
|
||||
paste.app_factory = ceilometer.api.app:app_factory
|
||||
@ -13,3 +13,6 @@ paste.app_factory = ceilometer.api.app:app_factory
|
||||
[filter:authtoken]
|
||||
paste.filter_factory = keystonemiddleware.auth_token:filter_factory
|
||||
|
||||
[filter:request_id]
|
||||
paste.filter_factory = oslo.middleware:RequestId.factory
|
||||
|
||||
|
@ -21,6 +21,7 @@ pbr>=0.6,!=0.7,<1.0
|
||||
pecan>=0.5.0
|
||||
posix_ipc
|
||||
oslo.messaging>=1.4.0
|
||||
oslo.middleware>=0.1.0 # Apache-2.0
|
||||
oslo.utils>=1.0.0 # Apache-2.0
|
||||
pysnmp>=4.2.1,<5.0.0
|
||||
python-ceilometerclient>=1.0.6
|
||||
|
@ -26,6 +26,7 @@ pbr>=0.6,!=0.7,<1.0
|
||||
pecan>=0.5.0
|
||||
posix_ipc
|
||||
oslo.messaging>=1.4.0
|
||||
oslo.middleware>=0.1.0 # Apache-2.0
|
||||
oslo.serialization>=1.0.0 # Apache-2.0
|
||||
oslo.utils>=1.0.0 # Apache-2.0
|
||||
pysnmp>=4.2.1,<5.0.0
|
||||
|
Loading…
Reference in New Issue
Block a user