Changes way metrics are collected, removing the use of mon-proxy 63/6863/4
authorBenjamin Diaz <bdiaz@whitestack.com>
Fri, 9 Nov 2018 20:52:08 +0000 (17:52 -0300)
committerBenjamin Diaz <bdiaz@whitestack.com>
Tue, 13 Nov 2018 21:06:07 +0000 (18:06 -0300)
commit0e34244e420bd68e6acb0cf6bb4383fedb662070
tree2ce072b48bba735e0285c7d3d7c32d1ca20a2e17
parent987f8f62bf405ac78a4a1ea3f6e634c686119e05
Changes way metrics are collected, removing the use of mon-proxy

Collector now collects vim metrics directly, without to send kafka msgs
to mon-proxy. Also a plugin/backend model has been implemented to ease
possible inclusions of other vims and tsbds in the future.

Signed-off-by: Benjamin Diaz <bdiaz@whitestack.com>
Change-Id: I554a4f5e410a31ec70aa301c8aa819b1f03a3857
25 files changed:
debian/python3-osm-mon.postinst
docker/scripts/runInstall.sh
osm_mon/cmd/mon_collector.py [new file with mode: 0644]
osm_mon/cmd/mon_prometheus_exporter.py [deleted file]
osm_mon/collector/__init__.py
osm_mon/collector/backends/__init__.py [new file with mode: 0644]
osm_mon/collector/backends/base.py [new file with mode: 0644]
osm_mon/collector/backends/prometheus.py [new file with mode: 0644]
osm_mon/collector/collector.py
osm_mon/collector/collectors/__init__.py [new file with mode: 0644]
osm_mon/collector/collectors/base.py [new file with mode: 0644]
osm_mon/collector/collectors/base_vim.py [new file with mode: 0644]
osm_mon/collector/collectors/juju.py [new file with mode: 0644]
osm_mon/collector/collectors/openstack.py [new file with mode: 0644]
osm_mon/collector/metric.py [new file with mode: 0644]
osm_mon/collector/prometheus_exporter.py [deleted file]
osm_mon/common/__init__.py
osm_mon/common/common_db_client.py
osm_mon/core/message_bus/consumer.py
osm_mon/core/settings.py
osm_mon/plugins/OpenStack/Gnocchi/metric_handler.py
osm_mon/test/collector/test_collector.py
osm_mon/test/plugins/OpenStack/unit/test_alarming.py
requirements.txt
setup.py