Skip to content

Latest commit

 

History

History
24 lines (14 loc) · 590 Bytes

File metadata and controls

24 lines (14 loc) · 590 Bytes

Kadira Engine

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.

Setup

npm install

Running

Add correct configurations to ../init-shell.sh. Then apply these commands:

. ../init-shell
sh run.sh