9cf7d56f5a9f33222c4d0fe8b19808c3551b581f
plugin.py is really hard to test because good part of its logic happend during code importation. It's test depends on the base TestCase that mocks too much thinks in a way that makes hard to spot real problems. The test also fails to test re-authenthication bug because of bad mocking. This code should fix above problems. It also remove some logic in the hooks: exceptions are already captured and logged by collectd and there is no need doing it inside of hooks. Init hook is also pointless from the perspective of this plugin initialization and it was removed. Co-authored-by: Emma Foley <emma.l.foley@intel.com> Related-Bug: #1615349 Change-Id: I4db8a94243ecbe98cd6bc13e4b66293172346dcd
collectd-ceilometer-plugin
OpenStack Ceilometer plugin for collectd.
This plugin for collectd publishes telemetry data gathered by collectd to Ceilometer. This enables a more comprehensive telemetry set to be made available to Ceilometer which will enable smarter scheduling and environmental service assurance monitoring.
- Free software: Apache license
- Source: http://git.openstack.org/cgit/openstack/collectd-ceilometer-plugin
- Bugs: http://bugs.launchpad.net/collectd-ceilometer-plugin
- Contact: E-mail the dev mailing list with the [collectd-ceilometer-plugin] tag
-
mailto:openstack-dev@lists.openstack.org?subject=[collectd-ceilometer-plugin]
Collateral
The following are links to background information, collateral and references to provide a clearer view on the need for this plugin, what it does and how it works:
- An overview of Ceilometer and its architecture:
-
http://docs.openstack.org/developer/ceilometer/overview.html http://docs.openstack.org/developer/ceilometer/architecture.html
- Official collectd website:
- Information on how collectd is enabled for Openstack:
-
https://01.org/openstack/blogs/emmalfoley/2016/collectd-enabling-openstack
- Presentation on how collectd, Ceilometer and DPDK work together:
Features
- Converts from collectd data sources to Ceilometer format
- Adds units for Ceilometer
- Devstack plugin
- Configure and deploy plugin
Description
A collection of collectd plugins to publish metrics and events to OpenStack services.
Languages
Python
91.1%
Shell
5.7%
reStructuredText
3.1%