MeetMe / newrelic-plugin-agent

Multi-Plugin python-based Agent for NewRelic's Platform
BSD 3-Clause "New" or "Revised" License
425 stars 265 forks source link

MongoDB Replicaset support? #186

Open sumeetsh opened 10 years ago

sumeetsh commented 10 years ago

Can I get this plugin to work against a replicaset? What about using on a sharded Database? Would you recommend running against the mongos or the individual mongod nodes?

EDIT: Gotta add that I have liked what I see so far, but need to ensure that I can use this meaningfully on a sharded cluster or a replicaset.

stevendgonzales commented 10 years ago

I am a user of the plugin against a Mongo replicaset and I have not had any issues. The plugin simply reports usage from the local mongo instance. Its not going to give you aggregated cluster level stats, but it will certainly give you the load on each individual node. I don't see why it wouldn't be able to give you this information for a sharded setup. It would probably help validate your sharding strategy as you would be able to easily identify whether you strategy was balancing data, or giving you "hot" nodes.

sportkixtim commented 9 years ago

did your replica set include an Arbiter node?