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:
parent
c693c0a5e8
commit
eb4c825215
@ -226,6 +226,7 @@ node 'puppetdb01.openstack.org' {
|
|||||||
# Node-OS: trusty
|
# Node-OS: trusty
|
||||||
node 'graphite.openstack.org' {
|
node 'graphite.openstack.org' {
|
||||||
$statsd_hosts = ['git.openstack.org',
|
$statsd_hosts = ['git.openstack.org',
|
||||||
|
'firehose01.openstack.org',
|
||||||
'logstash.openstack.org',
|
'logstash.openstack.org',
|
||||||
'nodepool.openstack.org',
|
'nodepool.openstack.org',
|
||||||
'nl01.openstack.org',
|
'nl01.openstack.org',
|
||||||
@ -552,6 +553,7 @@ node /^firehose\d+\.openstack\.org$/ {
|
|||||||
imap_hostname => hiera('lpmqtt_imap_server'),
|
imap_hostname => hiera('lpmqtt_imap_server'),
|
||||||
imap_username => hiera('lpmqtt_imap_username'),
|
imap_username => hiera('lpmqtt_imap_username'),
|
||||||
imap_password => hiera('lpmqtt_imap_password'),
|
imap_password => hiera('lpmqtt_imap_password'),
|
||||||
|
statsd_host => 'graphite.openstack.org',
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -129,6 +129,7 @@ INTEGRATION_MODULES["$OPENSTACK_GIT_ROOT/openstack-infra/puppet-mailman"]="origi
|
|||||||
INTEGRATION_MODULES["$OPENSTACK_GIT_ROOT/openstack-infra/puppet-mediawiki"]="origin/master"
|
INTEGRATION_MODULES["$OPENSTACK_GIT_ROOT/openstack-infra/puppet-mediawiki"]="origin/master"
|
||||||
INTEGRATION_MODULES["$OPENSTACK_GIT_ROOT/openstack-infra/puppet-meetbot"]="origin/master"
|
INTEGRATION_MODULES["$OPENSTACK_GIT_ROOT/openstack-infra/puppet-meetbot"]="origin/master"
|
||||||
INTEGRATION_MODULES["$OPENSTACK_GIT_ROOT/openstack-infra/puppet-mosquitto"]="origin/master"
|
INTEGRATION_MODULES["$OPENSTACK_GIT_ROOT/openstack-infra/puppet-mosquitto"]="origin/master"
|
||||||
|
INTEGRATION_MODULES["$OPENSTACK_GIT_ROOT/openstack-infra/puppet-mqtt_statsd"]="origin/master"
|
||||||
INTEGRATION_MODULES["$OPENSTACK_GIT_ROOT/openstack-infra/puppet-mysql_backup"]="origin/master"
|
INTEGRATION_MODULES["$OPENSTACK_GIT_ROOT/openstack-infra/puppet-mysql_backup"]="origin/master"
|
||||||
INTEGRATION_MODULES["$OPENSTACK_GIT_ROOT/openstack-infra/puppet-nodepool"]="origin/master"
|
INTEGRATION_MODULES["$OPENSTACK_GIT_ROOT/openstack-infra/puppet-nodepool"]="origin/master"
|
||||||
INTEGRATION_MODULES["$OPENSTACK_GIT_ROOT/openstack-infra/puppet-odsreg"]="origin/master"
|
INTEGRATION_MODULES["$OPENSTACK_GIT_ROOT/openstack-infra/puppet-odsreg"]="origin/master"
|
||||||
|
@ -26,6 +26,7 @@ class openstack_project::firehose (
|
|||||||
$mqtt_hostname = 'firehose.openstack.org',
|
$mqtt_hostname = 'firehose.openstack.org',
|
||||||
$mqtt_password,
|
$mqtt_password,
|
||||||
$mqtt_username = 'infra',
|
$mqtt_username = 'infra',
|
||||||
|
$statsd_host,
|
||||||
$ca_file,
|
$ca_file,
|
||||||
$cert_file,
|
$cert_file,
|
||||||
$key_file,
|
$key_file,
|
||||||
@ -99,4 +100,10 @@ class openstack_project::firehose (
|
|||||||
imap_use_ssl => false,
|
imap_use_ssl => false,
|
||||||
imap_delete_old => true,
|
imap_delete_old => true,
|
||||||
}
|
}
|
||||||
|
|
||||||
|
include mqtt_statsd
|
||||||
|
class {'mqtt_statsd::server':
|
||||||
|
mqtt_hostname => $mqtt_hostname,
|
||||||
|
statsd_hostname => $statsd_host,
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user