Skip to content

Latest commit

 

History

History
50 lines (36 loc) · 1.43 KB

README.md

File metadata and controls

50 lines (36 loc) · 1.43 KB

Kadira - Performance Monitoring for Meteor

Getting started

  1. Create an account at https://kadira.io
  2. From the UI, create an app. You'll get an AppId and an AppSecret.
  3. Run mrt add kadira in your project
  4. Configure your Meteor app with the AppId and AppSecret by adding the following code snippet to a server/kadira.js file:
Meteor.startup(function() {
  Kadira.connect('<AppId>', '<AppSecret>');
});

Now you can deploy your application and it will send information to Kadira. Wait upto one minute and you'll see, data appeared on the Kadira Dashboard.

Auto Connect

It is possible to automatically connect to Kadira using Environment Variables or using Meteor.settings.

Using Meteor Settings

use followng settings.json file with your app.

{
  ...
  "kadira": {
    "appId": "<appId>",
    "appSecret": "<appSecret>"
  }
  ...
}

Using Environment Variables

expose following environemnt variables before when you are runnign or deploying your app.

export KADIRA_APP_ID=<appId>
export KADIRA_APP_SECRET=<appSecret>

More information

Check out Kadira Academy for more information.