Socket
Socket
Sign inDemoInstall

@lightspeed/apollo-new-relic-extension

Package Overview
Dependencies
Maintainers
10
Versions
13
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@lightspeed/apollo-new-relic-extension

New Relic logging extension for Apollo GraphQL services


Version published
Weekly downloads
87
decreased by-37.41%
Maintainers
10
Weekly downloads
 
Created
Source

@lightspeed/apollo-new-relic-extension

npm version

Introduction

New Relic logging extension for GraphQL services. This extension will log all GraphQL transactions as New Relic transactions, providing insight into the operation query and variables, an easily digestable time tracing summary, and a total error count.

Quick Start

  1. Install the dependency in your webapp.
yarn add newrelic @lightspeed/apollo-new-relic-extension
  1. Enable the extension and tracing in your Apollo server configuration.
import ApolloNewRelicExtension from '@lightspeed/apollo-new-relic-extension';

// server.ts
const server = new ApolloServer({
  // ...
  extensions: [() => new ApolloNewRelicExtension()],
  tracing: true,
});

FAQs

Package last updated on 03 Jun 2019

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