openstack-ansible-os_monasca/templates/monasca-api/api-config.ini.j2
Flávio Ramalho 030df04ef8 Fix for monasca modules and other minor changes
This change fixes monasca modules to work with the latest version
of monascaclient.

Other minor changes:
  - Use cryptography instead of pycrypto
  - Removed duplicate variable for monasca_api_port
  - Added static paths for dashboards

Change-Id: Ib4fe27c276413bb2e1e5da3fe532d824745c5b99
2017-08-03 15:10:25 +02:00

30 lines
602 B
Django/Jinja

# {{ ansible_managed }}
[DEFAULT]
name = monasca_api
[pipeline:main]
pipeline = request_id auth api
[app:api]
paste.app_factory = monasca_api.api.server:launch
[filter:auth]
paste.filter_factory = monasca_api.healthcheck.keystone_protocol:filter_factory
[filter:request_id]
paste.filter_factory = oslo_middleware.request_id:RequestId.factory
[server:main]
use = egg:gunicorn#main
host = 0.0.0.0
port = {{ monasca_service_port }}
workers = {{ monasca_api_workers }}
worker-connections = 2000
backlog = 1000
proc_name = monasca-api
worker-class = eventlet
timeout = 30
backlog = 2048
keepalive = 2