Madhuvishy has uploaded a new change for review. https://gerrit.wikimedia.org/r/231170
Change subject: [WIP] eventlogging: Add statsd_host param to the mysql consumer url ...................................................................... [WIP] eventlogging: Add statsd_host param to the mysql consumer url See https://gerrit.wikimedia.org/r/#/c/229631/ for details. Bug: T105935 Change-Id: Ic1bb3599e6e567f4a6bd181ea2cbdd6ca4d3cdf0 --- M manifests/role/eventlogging.pp 1 file changed, 4 insertions(+), 1 deletion(-) git pull ssh://gerrit.wikimedia.org:29418/operations/puppet refs/changes/70/231170/1 diff --git a/manifests/role/eventlogging.pp b/manifests/role/eventlogging.pp index 9902c1f..8a3ca78 100644 --- a/manifests/role/eventlogging.pp +++ b/manifests/role/eventlogging.pp @@ -159,6 +159,9 @@ # Log strictly valid events to the 'log' database on m4-master. + # Define statsd host url + $statsd_host = "statsd.eqiad.wmnet" + class { 'passwords::mysql::eventlogging': } # T82265 $mysql_user = $passwords::mysql::eventlogging::user $mysql_pass = $passwords::mysql::eventlogging::password @@ -169,7 +172,7 @@ eventlogging::service::consumer { 'mysql-m4-master': input => "tcp://${processor_host}:8600", - output => "mysql://${mysql_user}:${mysql_pass}@${mysql_db}?charset=utf8", + output => "mysql://${mysql_user}:${mysql_pass}@${mysql_db}?charset=utf8&statsd_host=${statsd_host}", # Restrict permissions on this config file since it contains a password. owner => 'root', group => 'eventlogging', -- To view, visit https://gerrit.wikimedia.org/r/231170 To unsubscribe, visit https://gerrit.wikimedia.org/r/settings Gerrit-MessageType: newchange Gerrit-Change-Id: Ic1bb3599e6e567f4a6bd181ea2cbdd6ca4d3cdf0 Gerrit-PatchSet: 1 Gerrit-Project: operations/puppet Gerrit-Branch: production Gerrit-Owner: Madhuvishy <[email protected]> _______________________________________________ MediaWiki-commits mailing list [email protected] https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits
