aodh/etc/ceilometer/api_paste.ini
gordon chung 43bc7b617c support request-id
enable request-id similar to other OpenStack projects to help
track specific requests.

Change-Id: Ie5126ff462eef70400e45d2966aa16d1c7345618
Closes-Bug: #1244182
2014-10-22 13:38:25 -04:00

19 lines
597 B
INI

# Ceilometer API WSGI Pipeline
# Define the filters that make up the pipeline for processing WSGI requests
# Note: This pipeline is PasteDeploy's term rather than Ceilometer's pipeline
# used for processing samples
# Remove authtoken from the pipeline if you don't want to use keystone authentication
[pipeline:main]
pipeline = request_id authtoken api-server
[app:api-server]
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