nsqio/nsq

nsqd/nsqadmin: introspection of producer connections

开放

#879 创建于 2017年4月6日

 (6 条评论) (0 个反应) (0 位负责人)Go (2,898 个派生)batch import
featurehelp wanted

仓库指标

星标
 (25,788 个星标)
PR 合并指标
 (30 天内没有已合并 PR)

描述

nsqadmin does a great job at exposing the consumers on a given topic/channel but there is no way to introspect the producers connected via TCP to a nsqd node.

nsqd should expose a /producer_stats endpoint that lists the connections it has that are not subscribe to a topic. It should list the same client information available in /stats (tls, remote address, connection time, user_agent, auth, etc). It should also list a lifetime connection stat for number of messages published.

nsqadmin should have a new page (or section on the individual /node/:node page) that exposes this information.

贡献者指南