change names for stats sub-collectors

This commit is contained in:
thonit
2015-12-21 20:46:02 +01:00
parent d5a4ca52d9
commit 76b63dc80d
4 changed files with 21 additions and 21 deletions

View File

@@ -29,9 +29,9 @@ var (
// stats.* collectors
statsRegistry = map[string]func(namespace string) collector.StatsCollector{
"topics": collector.TopicsCollector,
"channels": collector.ChannelsCollector,
"clients": collector.ClientsCollector,
"topics": collector.TopicStats,
"channels": collector.ChannelStats,
"clients": collector.ClientStats,
}
)