Skip to content

Instantly share code, notes, and snippets.

@coreylight
Last active January 18, 2018 19:50
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save coreylight/01f145508c087bc016b460324843faa6 to your computer and use it in GitHub Desktop.
Save coreylight/01f145508c087bc016b460324843faa6 to your computer and use it in GitHub Desktop.
const iopipeLib = require('iopipe');
const profiler = require('@iopipe/profiler');
const iopipe = iopipeLib({
token: 'TOKEN_HERE',
plugins: [profiler({ enabled: true })]
});
exports.handler = iopipe((event, context) => {
context.succeed('Whoomp there it is!')
});
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment