Browse Source

Clean metrics related environments

This patch groups all metrics related environment files
to single directory and changes it's name to make more
sense.It also adds environment file for enabling RabbitMQ
monitoring.

Co-Authored-By: Nagasai Vinaykumar Kapalavai <vkapalav@redhat.com>
Change-Id: I8419ef82e79d1e26c7b1fc267feadf909a7978d9
Depends-On: I248859bf0e4b70e3a057e96b5fb74be64f4008ed
changes/29/644929/6
Martin Magr 2 years ago
parent
commit
492816a166
  1. 15
      environments/metrics/collect-read-rabbitmq.yaml
  2. 2
      environments/metrics/collectd-standalone.yaml
  3. 4
      environments/metrics/collectd-write-qdr.yaml

15
environments/metrics/collect-read-rabbitmq.yaml

@ -0,0 +1,15 @@
# This environment file serves for enabling python-collect-rabbitmq and configuring
# it to monitor overcloud RabbitMQ instance
parameter_defaults:
ControllerExtraConfig:
tripleo::profile::base::metrics::collectd::python_read_plugins:
- python-collectd-rabbitmq
collectd::plugin::python::modules:
collectd_rabbitmq_monitoring:
config:
- host: "%{hiera('rabbitmq::interface')}"
port: "%{hiera('rabbitmq::port')}"
username: "%{hiera('rabbitmq::default_user')}"
password: "%{hiera('rabbitmq::default_pass')}"

2
environments/collectd-environment.yaml → environments/metrics/collectd-standalone.yaml

@ -1,5 +1,5 @@
resource_registry:
OS::TripleO::Services::Collectd: ../deployment/metrics/collectd-container-puppet.yaml
OS::TripleO::Services::Collectd: ../../deployment/metrics/collectd-container-puppet.yaml
# parameter_defaults:
#

4
environments/metrics-collectd-qdr.yaml → environments/metrics/collectd-write-qdr.yaml

@ -4,8 +4,8 @@
resource_registry:
OS::TripleO::Services::Collectd: ../deployment/metrics/collectd-container-puppet.yaml
OS::TripleO::Services::MetricsQdr: ../deployment/metrics/qdr-container-puppet.yaml
OS::TripleO::Services::Collectd: ../../deployment/metrics/collectd-container-puppet.yaml
OS::TripleO::Services::MetricsQdr: ../../deployment/metrics/qdr-container-puppet.yaml
parameter_defaults:
Loading…
Cancel
Save