use _publish instead of _message_stats

It's shorter and it makes more sense.
This commit is contained in:
Clint Byrum 2015-10-28 09:22:20 +09:00
parent b718242b91
commit 6731bcf5ea
1 changed files with 1 additions and 1 deletions

View File

@ -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