Any pull requests complying with the Collective Code Construction Contract (C4/SAIP1) will be merged.
- Create an account at https://kadira.io
- From the UI, create an app. You'll get an
AppId
and anAppSecret
. - Run
meteor add meteorhacks:kadira
in your project - Configure your Meteor app with the
AppId
andAppSecret
by adding the following code snippet to aserver/kadira.js
file:
Meteor.startup(function() {
Kadira.connect('<AppId>', '<AppSecret>');
});
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.
Your app can connect to Kadira using environment variables or using Meteor.settings
.
Use the followng settings.json
file with your app:
{
...
"kadira": {
"appId": "<appId>",
"appSecret": "<appSecret>"
}
...
}
The run your app with meteor --settings=settings.json
.
Export the following environment variables before running or deploying your app:
export KADIRA_APP_ID=<appId>
export KADIRA_APP_SECRET=<appSecret>
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.
Check out Kadira Academy for more information and improve your app with Kadira.