Add apm-server to loadbalancer
Change-Id: I7442296d0ff984839e7f63ffcf82a77db722b72e
This commit is contained in:
parent
e05eae2f8d
commit
e3eb653b37
@ -69,6 +69,22 @@ Configure the Kibana endpoints:
|
||||
haproxy_port: 81 # This is set using the "Kibana_nginx_port" variable
|
||||
haproxy_balance_type: tcp
|
||||
|
||||
Configure the APM endpoints:
|
||||
It is recommented to use a load balancer for submitting Application
|
||||
Performance Monitoring data to the APM server. A load balancer will provide
|
||||
a highly available address which APM clients can use to connect to a pool of
|
||||
APM nodes. If using HAProxy, edit the `/etc/openstack_deploy/user_variables.yml`
|
||||
and add the following lines
|
||||
|
||||
.. code-block:: yaml
|
||||
|
||||
haproxy_extra_services:
|
||||
- service:
|
||||
haproxy_service_name: apm-server
|
||||
haproxy_ssl: False
|
||||
haproxy_backend_nodes: "{{ groups['apm-server'] | default([]) }}"
|
||||
haproxy_port: 8200 # this is set using the "apm_port" variable
|
||||
haproxy_balance_type: tcp
|
||||
|
||||
Optional | add OSProfiler to an OpenStack-Ansible deployment
|
||||
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
||||
|
@ -4,7 +4,7 @@
|
||||
|
||||
apm-server:
|
||||
# Defines the host and port the server is listening on
|
||||
#host: "localhost:8200"
|
||||
host: "{{ apm_interface }}:{{ apm_port }}"
|
||||
|
||||
# Maximum permitted size in bytes of an unzipped request accepted by the server to be processed.
|
||||
#max_unzipped_size: 52428800
|
||||
|
@ -41,6 +41,10 @@ kibana_server_name: "{{ ansible_hostname }}"
|
||||
logstash_beat_input_port: 5044
|
||||
logstash_deploy_filters: true
|
||||
|
||||
# APM vars
|
||||
apm_interface: 0.0.0.0
|
||||
apm_port: 8200
|
||||
|
||||
# Beat options
|
||||
heartbeat_services:
|
||||
- group: "{{ groups['galera_all'] | default([]) }}"
|
||||
|
Loading…
Reference in New Issue
Block a user