{"bugs":{"url":"https://github.com/apollographql/apollo-tracing-js/issues"},"dist":{"shasum":"647389e53a75c3bf6bd448b306e3c8da89998f80","tarball":"https://registry.npmjs.org/apollo-tracing/-/apollo-tracing-0.3.0-alpha.0.tgz","fileCount":9,"integrity":"sha512-dJ2rJ8b/DSmNb5D8/GhlWkHC0i2355dmF9GJwy2qiEHREnuKMKMCUrLsmojAgm7tRsPaFx4h2WlcYuVai2QzPw==","signatures":[{"sig":"MEUCIBGRBeMWdGpzl6duO++wOSp64iZcD8BfMxJvQATHd9RRAiEApHDilKulYpjJNv5Mmwk+w7GU+TjAJYaxRVGORWelwY8=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":13792,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbvlObCRA9TVsSAnZWagAAXUsQAIuDFf1ZwU/fmcb4lIYu\n9lOLoXYhqcDQXGqodAPf5RALmzKRfgdHJI3d5PsIt5NNCodv0iwTtT1xqLhB\nBoxceX6stuKypo0RxXtkmLs/UgzydlkU1YJlWGv55yPMVjq6Lu+3vLoqs4P9\n98vkWoFybmm9NkfoVjkPxHJNecUbh+6LyzrR9UEaPn63IJdXxE8oPioDAaUp\nr7w8qkOf2LvKVLxYyaCFhtcjNYhzJgb6FAhipPxXkCK/5FhBneRmXcs9//sM\nolRFzTh0h4CD809It3Faa0l+AcvK9boADeDRiacYY/Vv2cf8IewGM/dytjpC\nv9eKU0QZwUttRPXRGyn6i5M6ZD1B6yjMM3eFHR1NA2tSvq/O20c8uk7/jD00\nxdmrWjtn4ESW1D3qgsusUsCZj5T/35r1/90og7Bp85ztl37vC+ZKmSvjdU43\nAbPh2Qf4bx68CD8dI3v+w2Y+QqAQXQyOE45NF9+H4W7Zh+L1LsarCb6R+q2D\niKlorv3IKg8C8SIzPQRbhSJJFoI+W3Vcs4M99nILMFx+8m/pDyDlH9DQXaiT\nUmb24yfk48IgXotV2R13ldqpbWZCv/DcvFX+jYUZJy+Qb50b1tgKOBbN0dvC\n+GpeypqLAgUMn5109343yYUdbkR37KwUgFqfaQyIzVNRjzR8AXLDmHberFXx\nOitv\r\n=4nvg\r\n-----END PGP SIGNATURE-----\r\n"},"main":"./dist/index.js","name":"apollo-tracing","_from":"file:apollo-tracing-0.3.0-alpha.0.tgz","types":"./dist/index.d.ts","author":{"name":"Martijn Walraven","email":"martijn@martijnwalraven.com"},"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","engines":{"node":">=4.0"},"gitHead":"dec2b94a0e309c1c75b3e9f3d7b4011e36a7e48a","license":"MIT","_npmUser":{"name":"apollo-bot","email":"npm@apollographql.com"},"homepage":"https://github.com/apollographql/apollo-tracing-js#readme","_resolved":"","_integrity":"","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","repository":{"url":"git+https://github.com/apollographql/apollo-tracing-js.git","type":"git"},"_npmVersion":"6.4.1","description":"Collect and expose trace data for GraphQL requests","directories":{},"maintainers":[{"name":"apollo-bot","email":"npm@apollographql.com"},{"name":"martijnwalraven","email":"martijn@martijnwalraven.com"}],"_nodeVersion":"8.12.0","dependencies":{"apollo-server-env":"2.1.0-alpha.0","graphql-extensions":"0.3.0-alpha.0"},"_hasShrinkwrap":false,"readmeFilename":"README.md","peerDependencies":{"graphql":"0.10.x - 14.0.x"},"_npmOperationalInternal":{"tmp":"tmp/apollo-tracing_0.3.0-alpha.0_1539199898484_0.23464846192208655","host":"s3://npm-registry-packages"},"_id":"apollo-tracing@0.3.0-alpha.0","version":"0.3.0-alpha.0"}