Add mqtt_statsd to firehose config

To get metrics on MQTT usage into graphite/grafana this commit adds
running mqtt_statsd on firehose

Change-Id: I90bb2c4fc7e409e9af24ca7cec7ad9d7926739e9
Depends-On: I28058bf6eac2354e3ceba0011464509ed6bdd869
This commit is contained in:
Matthew Treinish
2017-04-05 00:21:50 -04:00
parent c693c0a5e8
commit eb4c825215
3 changed files with 10 additions and 0 deletions

View File

@@ -26,6 +26,7 @@ class openstack_project::firehose (
$mqtt_hostname = 'firehose.openstack.org',
$mqtt_password,
$mqtt_username = 'infra',
$statsd_host,
$ca_file,
$cert_file,
$key_file,
@@ -99,4 +100,10 @@ class openstack_project::firehose (
imap_use_ssl => false,
imap_delete_old => true,
}
include mqtt_statsd
class {'mqtt_statsd::server':
mqtt_hostname => $mqtt_hostname,
statsd_hostname => $statsd_host,
}
}