Giter VIP home page Giter VIP logo

meteor-apm-client's Introduction

Meteor APM (formerly Kadira)

APM - Performance Monitoring for Meteor Apps

Getting started

  1. Login to your own Meteor APM instance.
  2. From the UI, create an app. You'll get an AppId and an AppSecret.
  3. Run meteor add knotel:meteor-apm-client inside your Meteor project.
  4. Configure your Meteor app with the AppId, AppSecret and endpoint using environment variables or Meteor settings.
  5. Install zodern:standard-minifier-js and zodern:hide-production-sourcemaps Now you can deploy your application and it will send information to your APM. Wait up to one minute and you'll see data appearing in the Dashboard.

How-To Connect

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

Using Meteor.settings

Use the followng settings.json file with your app:

{
  ...
  "kadira": {
    "appId": "<appId>",
    "appSecret": "<appSecret>",
    "options": {
      "endpoint": "https://<MY-APM-DOMAIN>:<PORT>",
      "webClientEndpoint": "https://<MY-APM-DOMAIN>:<PORT>"
      "sourceMap": "true"
    }
  }
  ...
}

You should set hash to identify source-map version

export COMMIT_HASH='<commitHash>'

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

APM comes with built in error tracking solution for Meteor apps. It has been enabled by default. 'webClientEndpoint' option lets you set different endpoints for server and web clients.

More information

Check out the Meteor APM Guide for more information and improve your app with Meteor APM.

meteor-apm-client's People

Contributors

arunoda avatar dandv avatar eluck avatar ivan046 avatar pahans avatar revall avatar roonyh avatar thani-sh avatar varenytskyi avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.