meteorhacks / kadira

Performance Monitoring for Meteor
https://kadira.io/platform/kadira-apm/overview
MIT License
217 stars 110 forks source link

Kadira depends on mongo-livedata. Can it be overpassed? #115

Open neoromantic opened 9 years ago

neoromantic commented 9 years ago

I work on very special meteor project, it runs on embedded system, with ARM processor, low memory and low disk resources.

Because of that it doesn't use mongodb and does not depend on mongo-livedata.

Is there any way to use kadira without mongo-livedata? Is it a strong dependency?

arunoda commented 9 years ago

Hmm. Very interesting. Yes, we can make it work without mongo-livedata. We can weakly depend on that.

But we need to invest some time to see how it's gonna work.

neoromantic commented 9 years ago

Any news here? Can you give an advice how can I hack kadira module for now, until you come up with proper solution?

arunoda commented 9 years ago

Hey sorry for that. Was busy with bulletproof. You may need to look at few different places.

First make it a weak dependency in package.js

Then all the DB code is in lib/hijack

I fear you may need to alter our MeteorX package too. You may need to make mongolive data as a weak dep. On 2014 නොවැ 19, බදාදා at ප.ව. 8.19 Sergey Petrov notifications@github.com wrote:

Any news here? Can you give an advice how can I hack kadira module for now, until you come up with proper solution?

— Reply to this email directly or view it on GitHub https://github.com/meteorhacks/kadira/issues/115#issuecomment-63650502.