Commit Graph

16 Commits

Author SHA1 Message Date
Zuul
63d0cd4a03 Merge "Add SendQueueLimit to collectd-amqp1" 2020-11-03 09:19:03 +00:00
Matthias Runge
91cc43e01f Add SendQueueLimit to collectd-amqp1
to limit the queue length and to ignore data added
earlier to the queue, when there is no remote to
connect to. This will limit the memory usage of
this plugin. By default, the memory may grow until
it runs out of memory.

Depends-On: https://review.opendev.org/756365
Change-Id: Ie2db4b7487f9a8eaa7152b1b7984c52016219ed5
2020-10-12 13:41:56 +00:00
Takashi Kajinami
afc0b731e0 Disable notification from services by default
Currently we disable Telemetry services like Ceilometer by defaut,
which means that we don't have any consumers for notification messages.
So NotificationDriver should be set as noop by default so that we don't
have unconsumed messages in notification queues.

Change-Id: I1d05749c94bd58ad4badafa7d9755009cb4b64af
Closes-Bug: #1869355
2020-09-30 09:51:08 +09:00
Martin Magr
1abdc12b90 Enable Ceilometer data transfer for STF
Smart gateway now understands Ceilometer, so we can enable the data transfer by default.

Change-Id: I0d0e5f82ca246def6b051768f2b1971c81f83d02
2020-08-24 16:07:40 +00:00
Chris Sibbitt
15dfacb655 Disable presettled metrics
Our lab testing shows that message loss is unacceptably high when using
presettled mode for non-trivial metrics volumes. "unsettled" mode (the
alternative) has been shown to be 100% reliable while still acheiving equal or
greater overall max throughput in live testing with a baremetal cloud.

Change-Id: I9388994ee94ab1e3c3e15768a8eb96069c2d8a0b
2020-06-11 15:26:24 -04:00
Zuul
f64a69bd67 Merge "Add j2 per-role MetricsQdrNetwork" 2020-03-13 03:54:08 +00:00
Martin Magr
2f47252b8e Remove duplicated topic parts from default value
Ceilometer is adding the topic prefix and suffix automatically, which makes the resulting
topic have the 'ceilometer/' prefix and '.sample' suffix duplicated.

This patch also adds comment to ceilometer env to ensure user deploys Redis for coordination.

Change-Id: I26027cd9b9eb1d166eae52021b1aef9d82a975f3
2020-03-09 12:52:15 +01:00
Ryan McCabe
0b2441cdc9 Add j2 per-role MetricsQdrNetwork
Allow the MetricsQdrNetwork to vary by role. This is needed
as the CephStorage, BlockStorage, and ObjectStorage roles need
to use the storage network, while other roles need internal_api.

Change-Id: I37611d516495b2b82b56a08df8b6ac38e0687083
Signed-off-by: Ryan McCabe <rmccabe@redhat.com>
2020-03-04 04:51:05 +00:00
Leif Madsen
2c4802acdf
split() function expects string not array
Change-Id: Ie2be7f9030a5111cc33025f84c22efdc08eabcdd
Signed-off-by: Leif Madsen <lmadsen@redhat.com>
2020-01-21 14:26:45 -05:00
Martin Magr
0bbd78b5b2 Fix typos in hiera values
This patch wraps hiera evaluation values with %{} so they are really evaluated.

Change-Id: I85c45d442392b3c94840a9459f506c2ad9be0f0c
2019-12-17 21:36:31 +01:00
Martin Magr
7ed8ab86dd Split QDR environment from collectd
This patch splits QDR configuration from shared environment files which enables
flexibility to either run in edge mode only or in mesh mode.

It also adds separate environment file for ceilometer and dynamic listener
configuration for storage nodes for cases when storage nodes are not connected
to internal network (which is a case for CephStorage nodes by default).

Change-Id: I6b5af0b5afcdec75fe239385922dc84fbbb8288c
2019-11-15 11:39:56 +01:00
Emma Foley
1c1f78bc5b Fix the amqp presettle option for metrics and events in collectd
The values for presettle were incorrect for metrics and events sent
via AMQP.
Events should NOT be pre-settled, as they need to be ack'd to
ensure that all messages are delivered.
Metrics should be presettled as they don't require an ack.

Change-Id: I6aae1c8029cf6c9fff52a79d7a1519888f46dd81
2019-11-01 11:02:19 +00:00
Martin Magr
3164744b8e Connect collectd to QDR instead of Gnocchi
Usage of collectd with gnocchi has been deprecated, so there is more value
to test collectd/qdrouterd interaction and it should not be a default option
for deploy.

Change-Id: Icf2d9cd913fe58e0ea667a4be0f2bb06c41ad671
2019-10-21 14:06:23 +02:00
Matthias Runge
8fc71c40c0 Add ovs-plugins, hugepages and uptime to collectd
These plugins should be loaded by default, ovs-stats and ovs-events
should only get loaded, when ovs is used.

Also update the list of available plugins.

Change-Id: I40351932781a722dbf321c1efff981e786470c8c
2019-07-22 08:38:48 +02:00
Matthias Runge
d6eb263d53 Add df plugin and make description consistent
Change-Id: I06126f5ff6cada3c8d91fbb27bd58998c05ba4c5
2019-06-06 08:31:20 +02:00
Martin Magr
492816a166 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
2019-04-11 16:22:09 +02:00