This package has been deprecated

Author message:

After 2018-05-01, iopipe will no longer receive updates, please update to @iopipe/iopipe

iopipe

1.6.0 • Public • Published

IOpipe Agent & Tracing Plugin

npm version Slack

This package provides the IOpipe agent and the tracing plugin pre-bundled.

Installation & usage

Install via npm:

npm install --save @iopipe/iopipe

Or via yarn:

yarn add @iopipe/iopipe

Then require this module, passing it an object with your project token (register for access), and it will automatically monitor and collect metrics from your applications running on AWS Lambda.

If you are using the Serverless Framework to deploy your lambdas, check out our serverless plugin.

Example:

const iopipe = require('@iopipe/iopipe')({ token: 'PROJECT_TOKEN' });
 
exports.handler = iopipe((event, context) => {
  context.succeed('This is my serverless function!');
});

By default this package will enable the tracing plugin. For more information on how to use Iopipe and the tracing plugin, see the documentation below:

License

Apache 2.0

Package Sidebar

Install

npm i iopipe

Weekly Downloads

69

Version

1.6.0

License

Apache-2.0

Unpacked Size

109 kB

Total Files

9

Last publish

Collaborators

  • ewindisch
  • teamiopipe