Browse Source

Add statsd configuration for user to modify

Change-Id: Iaf1f5815fea8d6d8bd3b517c65d0d18f273cb6a1
Signed-off-by: Paul Belanger <pabelanger@redhat.com>
changes/48/643948/2
Paul Belanger 3 years ago
parent
commit
5df6b63cf8
  1. 2
      ansible/group_vars/statsd.yaml
  2. 8
      statsd/etc/statsd/config.js.j2

2
ansible/group_vars/statsd.yaml

@ -13,7 +13,7 @@
# under the License.
---
# windmill.statsd
statsd_file_config_js_src: statsd/etc/statsd/config.js.j2
statsd_file_config_js_src: "{{ windmill_config_git_dest }}/statsd/etc/statsd/config.js.j2"
# openstack.logrotate
logrotate_configs:

8
statsd/etc/statsd/config.js.j2

@ -0,0 +1,8 @@
{
{% if ansible_host | ipv6 %}
address_ipv6: true,
{% endif %}
backends: [ "./backends/console" ],
host: "{{ ansible_host }}",
port: 8125
}
Loading…
Cancel
Save