kolla-ansible/ansible/roles/monasca/templates/monasca-agent-forwarder/agent-forwarder.yml.j2
xiaojueguan 36587e4614 Fix bug in deploying monasca_agent_forwarder
Change-Id: I8633f7d250f331ca96788d8f4796889c3c312406
Closes-Bug: #1882259
2020-06-05 23:28:28 +08:00

27 lines
992 B
Django/Jinja

Api:
service_type: monitoring
endpoint_type: internal
region_name: {{ openstack_region_name }}
username: {{ monasca_agent_user }}
password: {{ monasca_agent_password }}
keystone_url: {{ keystone_admin_url }}
user_domain_name: Default
project_name: {{ monasca_control_plane_project }}
project_domain_id: {{ default_project_domain_id }}
project_domain_name: {{ default_project_domain_name }}
insecure: False
ca_file: /var/lib/kolla/venv/lib/python{{ distro_python_version }}/site-packages/certifi/cacert.pem
max_measurement_buffer_size: {{ monasca_agent_max_buffer_size }}
backlog_send_rate: {{ monasca_agent_backlog_send_rate }}
max_batch_size: {{ monasca_agent_max_batch_size }}
Main:
hostname: {{ ansible_hostname }}
non_local_traffic: True
listen_port: {{ monasca_agent_forwarder_port }}
Logging:
log_level: {{ 'DEBUG' if monasca_logging_debug else 'INFO' }}
forwarder_log_file: /var/log/kolla/monasca/agent-forwarder.log
enable_logrotate: False