Socket
Socket
Sign inDemoInstall

@adikari/apollo-sentry-plugin-serverless

Package Overview
Dependencies
Maintainers
1
Versions
6
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@adikari/apollo-sentry-plugin-serverless

Capture apollo server errors in Sentry


Version published
Weekly downloads
3
increased by50%
Maintainers
1
Weekly downloads
 
Created
Source

Apollo Server Sentry Plugin

Apollo Server plugin to capture GraphQL errors and report to sentry

Installation

$ yarn add @adikari/apollo-sentry-plugin-serverless @sentry/serverless apollo-server-lambda

How to use

Add the plugin in the list of plugins while instantiating the plugin

The sentry must be configured in lambda in order for this plugin to work. Checkout the sentry document to learn how to do so. https://docs.sentry.io/platforms/node/guides/aws-lambda/

new ApolloServer({
  ...
  plugins: [SentryPluginCaptureException()]
})

Keywords

FAQs

Package last updated on 12 Oct 2021

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc