Skip to content

Commit

Permalink
add statsd support
Browse files Browse the repository at this point in the history
  • Loading branch information
akerekes committed Feb 11, 2015
1 parent 57b4105 commit 462024a
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
6 changes: 6 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -248,6 +248,12 @@ Installs and configures [Consul][1] client, server and UI.
</td>
<td><tt>/etc/consul.d/cert.pem</tt></td>
</tr>
<tr>
<td><tt>['consul']['statsd_addr']</tt></td>
<td>String</td>
<td>This provides the address of a statsd instance (UDP).</td>
<td><tt>nil</tt></td>
</tr>
</table>

### Databag Attributes (optional)
Expand Down
2 changes: 1 addition & 1 deletion recipes/_service.rb
Original file line number Diff line number Diff line change
Expand Up @@ -116,7 +116,7 @@
end

copy_params = [
:bind_addr, :datacenter, :domain, :log_level, :node_name, :advertise_addr, :ports, :enable_syslog
:bind_addr, :datacenter, :domain, :log_level, :node_name, :advertise_addr, :ports, :enable_syslog, :statsd_addr
]
copy_params.each do |key|
if node['consul'][key]
Expand Down

0 comments on commit 462024a

Please sign in to comment.