This is the core service where we accept metrics from the client. This app's URL is the Kadira Endpoint we set in meteorhacks:kadira package.
This app connects to multiple databases. They are:
- App MongoDB (MONGO_URL) - Which has the user/app info
- Data MongoDB Shard (MONGO_SHARD_URL_) - Accept any number of replica sets as the shard
It's safe to run multiple instance of this for horizontal scaling.
npm install
Add correct configurations to ../init-shell.sh. Then apply these commands:
. ../init-shell
sh run.sh