A Meteor package that tracks active sessions and their subscriptions
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
.gitignore
README.md
common.js
package.js
server.js
smart.json
tests.js

README.md

meteor-session-monitor

This package maintains a record of all the currently active sessions for a Meteor app, along with the active subscriptions for each session. It does this by adding callbacks to socket open and close events and by injecting handlers that wrap Meteor's internal code that handles the starting and stopping of subscriptions.

Although in this demo the information is made publically available to everyone who connects, only minor modifications would be required to make it only available to admins.

Live Demo

http://session-monitor.meteor.com

Acknowledgements

Thanks go to Andrew Mao for his meteor-user-status package which helped get me started on monitoring open sessions.