meteorhacks:kadira

v2.30.4Published 7 years ago

This package has not had recent updates. Please investigate it's current state before committing to using it in your project.

Build Status

Kadira - Performance Monitoring for Meteor

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 meteor add meteorhacks: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:
1Meteor.startup(function() {
2  Kadira.connect('<AppId>', '<AppSecret>');
3});

Now you can deploy your application and it will send information to Kadira. Wait up to one minute and you'll see data appearing in the Kadira Dashboard.

Auto Connect

Your app can connect to Kadira using environment variables or using Meteor.settings.

Using Meteor.settings

Use the followng settings.json file with your app:

1{
2  ...
3  "kadira": {
4    "appId": "<appId>",
5    "appSecret": "<appSecret>"
6  }
7  ...
8}

The run your app with meteor --settings=settings.json.

Using Environment Variables

Export the following environment variables before running or deploying your app:

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

Error Tracking

Kadira comes with built in error tracking solution for Meteor apps. It has been enabled by default. For more information, please visit our docs on error tracking.

More information

Check out Kadira Academy for more information and improve your app with Kadira.