Automatically detect function event type and log derived custom metrics.


stars 🌟issues ⚠️updated 🛠created 🐣size 🏋️‍♀️
126May 12, 2021Jan 29, 2018Minified + gzip package size for @iopipe/event-info in KB


IOpipe JS Event Info Plugin

styled with prettier semantic-release

Records Lambda event information for observability, search, and alerting within IOpipe.

This plugin currently supports these event types:

  • Alexa Skill Kit
  • API Gateway
  • CloudFront
  • Kinesis
  • Kinesis Firehose
  • S3
  • Scheduled Events
  • SNS
  • SES
  • SQS


Note: This plugin is automatically included in the recommended package @iopipe/iopipe. No direct install necessary.

With yarn (recommended) in project directory:

yarn add @iopipe/event-info

With npm in project directory:

npm install @iopipe/event-info


const iopipe = require('@iopipe/core');
const eventInfoPlugin = require('@iopipe/event-info');
const iopipeWrapper = iopipe({
  plugins: [

exports.handler = iopipeWrapper((event, context) => {


Apache-2.0 see LICENSE

Copyright 2018, IOpipe, Inc.

If you find any bugs or have a feature request, please open an issue on github!

The npm package download data comes from npm's download counts api and package details come from npms.io.