Better tuning for haproxy config

Now uses /status as it should have initially, sets to host with
least connections which is good behavior for http usage
This commit is contained in:
Steve Lewis 2015-12-17 12:49:29 -08:00
parent 657c7437de
commit d2b8efed74
2 changed files with 2 additions and 2 deletions

View File

@ -3,7 +3,8 @@
haproxy_backend_nodes: "{{ groups['gnocchi_all'] | default([]) }}"
haproxy_port: 8041
haproxy_balance_type: http
haproxy_balance_alg: leastconn
haproxy_backend_options:
- "forwardfor"
- "httpchk /versions"
- "httpchk /status"
- "httplog"

View File

@ -13,7 +13,6 @@ oslo_config_project = gnocchi
[filter:healthcheck]
paste.filter_factory = oslo_middleware:Healthcheck.factory
path = /versions
backends = disable_by_file
disable_by_file_path = {{ gnocchi_healthcheck_disable_path }}