projects
/
osm
/
MON.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Adds use of CustomCollector in Prometheus exporter
[osm/MON.git]
/
osm_mon
/
core
/
message_bus
/
common_consumer.py
diff --git
a/osm_mon/core/message_bus/common_consumer.py
b/osm_mon/core/message_bus/common_consumer.py
index
0b61e1e
..
b2677d8
100755
(executable)
--- a/
osm_mon/core/message_bus/common_consumer.py
+++ b/
osm_mon/core/message_bus/common_consumer.py
@@
-91,6
+91,8
@@
class CommonConsumer:
topics = ['metric_request', 'alarm_request', 'vim_account']
common_consumer.subscribe(topics)
+ common_consumer.poll()
+ common_consumer.seek_to_end()
log.info("Listening for messages...")
for message in common_consumer: