wandenberg / nginx-push-stream-module

A pure stream http push technology for your Nginx setup. Comet made easy and really scalable.
Other
2.21k stars 295 forks source link

channel stats as a channel? #276

Closed andrisi closed 6 years ago

andrisi commented 6 years ago

The channel stats contain important info to monitor clients/services based on server side events, but it needs to be periodically polled to display this info on an admin panel - and this is somehow. In the spirit of the module, it would be nice to have a special predefined channel you could subscribe to that would be filled with administrative events. Channel opened, closed, someone subscribed or dropped - perhaps with chosen granularity. Thanks!

wandenberg commented 6 years ago

@andrisi I guess that what you are looking for is provided by the events_channel. The granularity you can do filtering the events on your admin. To protect this channel from general access you can use this directive if needed.

andrisi commented 6 years ago

Great! Again, and again! :-)