{"name":"apollo-tracing","version":"0.3.0-register.2195","description":"Collect and expose trace data for GraphQL requests","main":"./dist/index.js","types":"./dist/index.d.ts","license":"MIT","repository":{"type":"git","url":"git+https://github.com/apollographql/apollo-tracing-js.git"},"author":{"name":"Martijn Walraven","email":"martijn@martijnwalraven.com"},"engines":{"node":">=4.0"},"dependencies":{"apollo-server-env":"2.1.0-register.2195+e44b5bd","graphql-extensions":"0.3.0-register.2195+e44b5bd"},"peerDependencies":{"graphql":"0.10.x - 14.0.x"},"gitHead":"e44b5bd3c8b602f549ae52c4cb9d9c7e2488a5c1","_resolved":"","_integrity":"","_from":"file:apollo-tracing-0.3.0-register.2195.tgz","readme":"# Apollo Tracing (for Node.js)\n\nThis package is used to collect and expose trace data in the [Apollo Tracing](https://github.com/apollographql/apollo-tracing) format.\n\nIt relies on instrumenting a GraphQL schema to collect resolver timings, and exposes trace data for an individual request under `extensions` as part of the GraphQL response.\n\nThis data can be consumed by [Apollo Engine](https://www.apollographql.com/engine/) or any other tool to provide visualization and history of field-by-field execution performance.\n\n## Usage\n\n### Apollo Server\n\nApollo Server includes built-in support for tracing from version 1.1.0 onwards.\n\nThe only code change required is to add `tracing: true` to the options passed to the Apollo Server middleware function for your framework of choice. For example, for Express:\n\n```javascript\napp.use('/graphql', bodyParser.json(), graphqlExpress({\n  schema,\n  context: {},\n  tracing: true,\n}));\n```\n\n> If you are using `express-graphql`, we recommend you switch to Apollo Server. Both `express-graphql` and Apollo Server are based on the [`graphql-js`](https://github.com/graphql/graphql-js) reference implementation, and switching should only require changing a few lines of code.\n","readmeFilename":"README.md","bugs":{"url":"https://github.com/apollographql/apollo-tracing-js/issues"},"homepage":"https://github.com/apollographql/apollo-tracing-js#readme","_id":"apollo-tracing@0.3.0-register.2195","_npmVersion":"6.4.1","_nodeVersion":"10.5.0","_npmUser":{"name":"apollo-bot","email":"npm@apollographql.com"},"dist":{"integrity":"sha512-hZ66Gm6w3icF314AwM/HAE+hAMGNWqJcS0NrTzaJCjEOkQQPovrZgLRWG+4t69bSoPZEgQ2esjufal6/E6Uxew==","shasum":"e47349254b299b8dad7139998a17311eb1a258e0","tarball":"http://registry-npm.ywwl.com/apollo-tracing/download/apollo-tracing-0.3.0-register.2195.tgz","fileCount":9,"unpackedSize":13834,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbvAlNCRA9TVsSAnZWagAA6NUP/2XTpE1tJx2zv1tvzOxD\nR3Nij9uO4yB4NfX89wmL8JmwCnyE4+XhIn/IOk6u7xUkBYEfTX32zIk+BBxd\nN3iTHzi6dTXt9sUoS5bYNZ9b4KXZ4w9Mbngz83PQo6LE1OF0W9iELrl5hCTk\njb2HtNUgUCSUTvAW74GxQze4SRriUeAtLNBVMjF+17RbjhVvqSwyG7D7TqdB\nawf8Y0Zr0+4ufuuygbqNshotqjO1qF6GvGHn7B3+4/5L6WRQOFfgsbkAWyBC\njJHzJ/QiQIHADvSqqY+S8c050LAMc/PQMimJahAF6tdfOYubcozGXFcKWPta\nYhVMdefbSoafGkyNbPbVpEa5ZMzsizIZa95Yx2IzHqN2/ZKzg5Xz4p0RxnTC\nBer58J7KhL3Rqs5wAzZT8gzMj2faMZvh2N9xWCxgnH89hXOX2POZ7hgYuoVp\n3ylAYO0heKm05efAQ4weHHGKtr+0T4+AfRW2ctiLWbZLksLvWy16Sbibl722\n35FW0GW4dmfWMPsAdZh9ZOG9QJCS57pTxIvPllDJJeF/fnZJro69Bh6MAbi5\ndWVXCnFltI6YjDNtMum3KClU/LCDXEvzdUg5IO5nNOro18U4KeMrOWc1rNpv\nZKbrxylPeC5mRd0lB04MyBEBhX/i0/9ctvwcen9G3hhOfX+PC1omoIcB7YEc\nTwh6\r\n=J7L+\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCFMtp3TgkLYCxmqWKQXSO/bL4xOw5pd8cvx+tfqkZS+gIgH6xcVH2JlZqJuOeDzhdK838y11+3TiRy+eFXhHRtMsU="}],"size":4859,"noattachment":false,"key":"/apollo-tracing/-/apollo-tracing-0.3.0-register.2195.tgz"},"maintainers":[{"email":"npm@apollographql.com","name":"apollo-bot"},{"email":"martijn@martijnwalraven.com","name":"martijnwalraven"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/apollo-tracing_0.3.0-register.2195_1539049804829_0.50687794053403"},"_hasShrinkwrap":false,"deprecated":"The `apollo-tracing` package is no longer part of Apollo Server 3. See https://www.apollographql.com/docs/apollo-server/migration/#tracing for details","publish_time":1539049804987,"_cnpm_publish_time":1539049804987,"dist-tags":{"alpha":"0.15.0-alpha.0","latest":"0.16.0","next":"0.12.0-alpha.0","next-v3":"0.300.0-alpha.3","rc":"0.11.3-rc.0","unified":"0.13.1-unified2.1","v2":"0.16.0"}}