Howto list all Publications and Methods with the meteor shell?

There is a way to list all Publications and Methods with the meteor shell, we once did so. Who knows it?

Thanks for helping :smile:

Use this
https://github.com/monti-apm/monti-apm-agent

You intend to just list them or profile them? Listing them is pretty easy:

const allMethods = Meteor.server.method_handlers
const allPublications = Meteor.server.publish_handlers

I use these to check after startup, whether there are Methods/Publications left, that have not been added to the rate-limiter

2 Likes