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
diff --git a/setup.py b/setup.py
index 1015de4..3646610 100644
--- a/setup.py
+++ b/setup.py
@@ -68,13 +68,15 @@
"bottle==0.12.*",
"peewee==3.1.*",
"pyyaml==3.*",
+ "prometheus_client==0.4.*",
+ "gnocchiclient==7.0.*",
"osm-common",
"n2vc"
],
include_package_data=True,
entry_points={
"console_scripts": [
- "osm-mon-prometheus-exporter = osm_mon.cmd.mon_prometheus_exporter:main",
+ "osm-mon-collector = osm_mon.cmd.mon_collector:main",
]
},
dependency_links=[