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
(cherry picked from commit 492816a166)
changes/45/659845/2
Martin Magr 3 years ago
committed by Nagasai Vinaykumar Kapalavai
parent
commit
8d4f109a6a
  1. 15
      environments/metrics/collect-read-rabbitmq.yaml
  2. 0
      environments/metrics/collectd-standalone.yaml
  3. 28
      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')}"

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

28
environments/metrics/collectd-write-qdr.yaml

@ -0,0 +1,28 @@
## This environment servers the purpose of enabling collectd to send metrics
## through mesh of QPID dispatch routers. Each overcloud node will have one local
## qdrouterd service running and collectd will send data to it.
resource_registry:
OS::TripleO::Services::Collectd: ../../docker/services/metrics/collectd.yaml
OS::TripleO::Services::MetricsQdr: ../../docker/services/metrics/qdr.yaml
parameter_defaults:
CeilometerQdrPublish: true
CollectdConnectionType: amqp1
CollectdAmqpInstances:
notify:
notify: true
format: JSON
presettle: true
telemetry:
format: JSON
presettle: false
#MetricsQdrConnectors:
# - host: IP1
# port: 1234
# role: inter-router
# - host: IP2
# port: 5678
# role: inter-router
Loading…
Cancel
Save