use _publish instead of _message_stats
It's shorter and it makes more sense.
This commit is contained in:
parent
b718242b91
commit
6731bcf5ea
|
@ -63,6 +63,6 @@ def collect():
|
|||
if match:
|
||||
qname = '{}_fanout'.format(match.group(1))
|
||||
if "message_stats" in q and "publish" in q["message_stats"]:
|
||||
target = '%s_message_stats' % (qname)
|
||||
target = '%s_publish' % (qname)
|
||||
collected[target] = q["message_stats"]["publish"]
|
||||
return collected
|
||||
|
|
Loading…
Reference in New Issue