简体   繁体   中英

MongoDB Monitoring Service in your rails application

I look https://mms.10gen.com/ But i dont get it how to use your app to it. I mean how to connect your mongodb database link to MongoDB Monitoring Service? I am using Ruby on Rails and Mongodb in my project.

The interface tells you step by step how to do it, but here is a tutorial link: http://mms.10gen.com/help/install.html .

Basically to explain it further, it does not run within your application; it is not connected to your application in anyway. Imagine it as a separate program sitting on your DB server(s) transmitting data to MMS. This does mean of course that you will need to configure your firewall (or use localhost resolution for it like I do) to allow the program out bound traffic access to the MMS site.

A more technical explanation is that it is a Python agent that runs as a deamon on your machine. It will automatically, once placed on a server, detect the cluster (unless your single server then it will just get the one server) and add it to the site. It may take a while (5 mins or so) for data to show up.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM