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:
@@ -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,
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user