nsqio/nsq

nsqd/nsqadmin: introspection of producer connections

Open

#879 ouverte le 6 avr. 2017

Voir sur GitHub
 (6 commentaires) (0 réactions) (0 assignés)Go (2 898 forks)batch import
featurehelp wanted

Métriques du dépôt

Stars
 (25 788 stars)
Métriques de merge PR
 (Aucune PR mergée en 30 j)

Description

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.

Guide contributeur