All Projects → localshred → apollo-newrelic-extension

localshred / apollo-newrelic-extension

Licence: other
Apollo Server extension library for performing NewRelic transaction traces of graphql requests

Programming Languages

javascript
184084 projects - #8 most used programming language

Projects that are alternatives of or similar to apollo-newrelic-extension

apollo-express-ts-server-boilerplate
No description or website provided.
Stars: ✭ 29 (+81.25%)
Mutual labels:  apollographql, apollo-server
hano-graphql
GraphQL, Hapi and Node Project For Scaleable Apps.
Stars: ✭ 13 (-18.75%)
Mutual labels:  apollographql, apollo-server
graphql-resolver-cache
Caching for Graphql Resolvers
Stars: ✭ 18 (+12.5%)
Mutual labels:  apollographql, apollo-server
kontent-boilerplate-express-apollo
Kontent Boilerplate for development of Express application using Apollo server and GraphQL.
Stars: ✭ 21 (+31.25%)
Mutual labels:  apollographql, apollo-server
Apollo2 Subscriptions How To
Apollo Server 2 how to setup subscriptions
Stars: ✭ 125 (+681.25%)
Mutual labels:  apollographql, apollo-server
apollo-log
A logging extension for the Apollo GraphQL Server
Stars: ✭ 64 (+300%)
Mutual labels:  apollographql, apollo-server
now-course
Proyecto para el curso de Now.sh en Platzi
Stars: ✭ 19 (+18.75%)
Mutual labels:  apollographql, apollo-server
fullstack-apollo-subscription-example
A minimal Apollo Server 2 with Apollo Client 2 with Subscriptions application.
Stars: ✭ 72 (+350%)
Mutual labels:  apollographql, apollo-server
Fullstack Apollo Express Postgresql Boilerplate
💥 A sophisticated GraphQL with Apollo, Express and PostgreSQL boilerplate project.
Stars: ✭ 1,079 (+6643.75%)
Mutual labels:  apollographql, apollo-server
Fullstack Apollo Express Mongodb Boilerplate
💥A sophisticated GraphQL with Apollo, Express and MongoDB boilerplate project.
Stars: ✭ 301 (+1781.25%)
Mutual labels:  apollographql, apollo-server
apollo-graphql-tutorial
Learning apollo graphql version 2.x with Node.js
Stars: ✭ 18 (+12.5%)
Mutual labels:  apollographql, apollo-server
Apollo Opentracing
Performance trace your Apollo GraphQL server with Opentracing
Stars: ✭ 154 (+862.5%)
Mutual labels:  apollographql, apollo-server
Fullstack Apollo React Boilerplate
💥A sophisticated Apollo in React boilerplate project.
Stars: ✭ 136 (+750%)
Mutual labels:  apollographql, apollo-server
Gramps Express
NOTE: The GrAMPS core has moved to https://github.com/gramps-graphql/gramps
Stars: ✭ 161 (+906.25%)
Mutual labels:  apollographql, apollo-server
micrometer-registry-newrelic
Micrometer registry implementation that sends data to New Relic as dimensional metrics.
Stars: ✭ 27 (+68.75%)
Mutual labels:  newrelic
php7-alpine
Docker container for PHP 7 in Alpine Linux, with almost all extensions that you may need
Stars: ✭ 20 (+25%)
Mutual labels:  newrelic
k8s-metadata-injection
Kubernetes metadata injection for New Relic APM to make a linkage between APM and Infrastructure data.
Stars: ✭ 19 (+18.75%)
Mutual labels:  newrelic
lumen-newrelic
New Relic instrumentation for the Lumen framework
Stars: ✭ 26 (+62.5%)
Mutual labels:  newrelic
nrjmx
Command line tool to connect to a JMX server and retrieve the MBeans it exposes.
Stars: ✭ 28 (+75%)
Mutual labels:  newrelic
newrelic-quickstarts
New Relic One quickstarts help accelerate your New Relic journey by providing immediate value for your specific use cases.
Stars: ✭ 46 (+187.5%)
Mutual labels:  newrelic

Apollo New Relic Extension

Creates a newrelic transaction with associated custom attributes on each graphql request/response. For use with Apollo Server's experimental extensions API only available with Apollo Server >= 2.x.

Usage

  1. yarn add apollo-newrelic-extension
  2. Enable tracing in your ApolloServer configuration.
  3. Connect an extension instance to the ApolloServer configuration.

Example

const express = require('express')
const { ApolloServer } = require('apollo-server-express')
const ApolloNewrelicExtension = require('apollo-newrelic-extension')
const typeDefs = require('./typeDefs')
const resolvers = require('./resolvers')

const server = new ApolloServer({
  typeDefs,
  resolvers,
  // ...additional configuration...

  // Thunk for creating the newrelic extension
  extensions: [() => new ApolloNewrelicExtension()],

  // Be sure to enable tracing
  tracing: true
})

const app = express()
server.applyMiddleware({ app })

app.listen(3000, () => console.log('Server listening on port 3000'))

Credits

Special thanks to ddombrow for this gist.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].