Adds MON Prometheus exporter
Adds a new MON component called mon-exporter, which collects
vdu infra metrics and exposes them through a webservice
by using prometheus_client. This webservice follows the Prometheus
exporter format so it can be integrated as a target so that
it polls metrics from there.
Signed-off-by: Benjamin Diaz <bdiaz@whitestack.com>
Change-Id: Iaf2073879d884d0597aa8341f7b6fbbbc3d86e7e
diff --git a/setup.py b/setup.py
index 16c056b..dc5812f 100644
--- a/setup.py
+++ b/setup.py
@@ -71,6 +71,11 @@
"osm-common"
],
include_package_data=True,
+ entry_points={
+ "console_scripts": [
+ "osm-mon-exporter = osm_mon.cmd.exporter:main",
+ ]
+ },
dependency_links=[
'git+https://osm.etsi.org/gerrit/osm/common.git#egg=osm-common'
],