node-amqp-stats
node-amqp-stats copied to clipboard
Parse Error
I'm trying to use this library, and I have rabbitmq installed locally.
I do:
const stats = new amqpstats({
hostname: 'localhost:5672'
})
stats.overview((err, res) => {
console.log(err, res)
})
And I get "Parse Error" in a deep stacktrace in your lib. Please advise, thanks.
Hi Geoffrey, had this problem too, turns out you have to specify the management port (15672) not 5672.