Giter Site home page Giter Site logo

appoptics-apm-node's Introduction

AppOptics APM

The appoptics-apm module provides AppOptics instrumentation for Node.js.

It has the ability to report performance metrics on an array of libraries, databases and frameworks.

It requires an AppOptics account to view metrics. Get yours; it's free.

Dependencies

The agent compiles a C++ addon during install, thus you’ll need to have the following on the system prior to installing the agent:

  • gcc version 4.7 and above
  • for node-gyp: make and python 2.x (version 2.7 is recommended)

Installation

The appoptics-apm module is available on npm and can be installed by navigating to your app root and running:

npm install --save appoptics-apm

The agent requires a service key, obtained from the AppOptics dashboard under "Organization Details", to connect to your account. This is set via the APPOPTICS_SERVICE_KEY environment variable, make sure it is available in the environment where your application is running:

export APPOPTICS_SERVICE_KEY="api-token-here:your-service-name"

Then, at the top of your main js file for your app, add this:

require('appoptics-apm')

Now restart your app and you should see data in your AppOptics dashboard in a minute or two.

Configuration

Documentation coming soon!

Upgrading

To upgrade an existing installation, navigate to your app root and run:

npm install --save appoptics-apm@latest

Adding Your Own Spans

Our GitHub repository hosts an overview and a complete API reference.

Support

If you find a bug or would like to request an enhancement, feel free to file an issue. For all other support requests, please email [email protected].

Contributing

You are obviously a person of great sense and intelligence. We happily appreciate all contributions to the oboe module whether it is documentation, a bug fix, new instrumentation for a library or framework or anything else we haven't thought of.

We welcome you to send us PRs. We do request that any new instrumentation submissions have corresponding tests that accompany them. This way we won't break any of your additions when we (and others) make changes after the fact.

Developer Resources

We have made an effort to expose technical information to enable developers to contribute to the appoptics module for any that may wish to do so. Below is a good source of information and help for developers:

  • The AppOptics Knowledge Base has a large collection of technical articles or, if needed, you can submit a support request directly to the team.

If you have any questions or ideas, don't hesitate to contact us anytime.

Layout of the module

The oboe module uses a standard layout. Here are the notable directories.

lib/probes  # Auto loaded instrumentation
lib         # Span and Event constructors
test        # Mocha test suite

Compiling the C extension

This module utilizes a C++ node extension to interface with the liboboe.so library. liboboe is installed as part of the appoptics-bindings package which is a dependency of this package. It is used to report host and performance metrics to AppOptics servers.

If you would like to work with the C++ extension, clone the github appoptics-bindings-node repository and work with that.

License

Copyright (c) 2016, 2017, 2018 SolarWinds, LLC

Released under the Librato Open License

appoptics-apm-node's People

Contributors

bmacnaughton avatar dkuebric avatar jdwallace12 avatar mikea- avatar mliszewski avatar qard avatar ylleochan avatar

Watchers

 avatar  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.