From 42065b22eef5c0203f2df8158083efa08f26028a Mon Sep 17 00:00:00 2001 From: "James E. Blair" Date: Tue, 10 Oct 2017 13:20:00 -0700 Subject: [PATCH] Add statsd to zuul.conf We're adding statsd support to zuul.conf; support it there and the existing defaults file for compatability. Change-Id: I08feb2dbb18146a1a962aa8b96e3d33e5f794459 --- templates/zuul.conf.erb | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/templates/zuul.conf.erb b/templates/zuul.conf.erb index a59c011..25a1ef8 100644 --- a/templates/zuul.conf.erb +++ b/templates/zuul.conf.erb @@ -6,6 +6,11 @@ check_job_registration=<%= @gearman_check_job_registration %> start=<%= @internal_gearman %> log_config=/etc/zuul/gearman-logging.conf +<% if @statsd_host != "" %> +[statsd] +server=<%= @statsd_host %> +<% end %> + <% if @gerrit_server != "" -%> [gerrit] server=<%= @gerrit_server %>