{"bugs":{"url":"https://github.com/apollographql/apollo-tracing-js/issues"},"dist":{"shasum":"3560833d757a49f05d9105fc1cb72f0725056dd1","tarball":"https://registry.npmjs.org/apollo-tracing/-/apollo-tracing-0.6.0-alpha.2.tgz","fileCount":8,"integrity":"sha512-qLvNv5uAPfyP5HqcwQ6+vFtJmGvpikQtFuDDhv2foXAAloXqrln7NgvlGl3jBuxVL0UrSdhXhTUgOWfIqN6Ajg==","signatures":[{"sig":"MEQCIGob617QrNPq3bICiJncyZyU0UWUF2DoTagjAyV4LO7ZAiB9HcWPqx2jo64rFWsV7c/AT2Uc5f0rppCqT3rAnJxQ/A==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":13641,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJcp4fRCRA9TVsSAnZWagAAs+4P/iWxLjstpOQFZmzhR2SV\nRzwWwIyzzGa13o//PUOyYa4sKOikshdOwicW3WhH0OBkHHQzbIqJ7V6o87NH\nom8tBjlPacUJFnsqOlK6IEqk8Kl1JJCo8S0tuhv9vHPr17m4ZBTE4+dt5062\n5QPSZxqhLIF9LhoOolsP80Gw2cpKoRNF1VR+IBfERfE2kdb9esBBGiaxxArB\nWjQaX2O6hKhVrT4juxMpWdHAXfGPDmOhSTZQF8ajZsvSODrcvhrDv6DitWeJ\nOFwi1EOlY2EA1NMKa33TL2VDcA/plPy/jLsraR0c2F5X3whhKgvDFmm+pOkF\ni2VVazAFkBPi734unI80QwdYw7TyVOx7pCMf/YuVv5cZ1+FYGel2+LG/GXc8\nBVgVbGaon5+lAaj5PZsFwewG7Zu6SA++Di9ZXCj2zJ4NZmOTitdusa/+jUql\nSnCtMXnLwkOeO4VdJjfAqHuDkNkkpXy96vS386hbZT1M7kSRtE5pUq9js7ry\n1zfj0G5GFA8UKNFC64QjC90S8K6gOXqZi++4Y8gHz++arCSQWE5HNSurHaYE\nAElSqdsq7akCla2T1ALgDCxBSPJjAcFzfqi7VFitGks0xN+f9rSXkXgYaS/x\n5X50G5j1aRFCFpiym9ki7hJRSxlky1WVIgkXECC2Di4OlwBZNJqTyal7V2UY\nWVeE\r\n=NTG4\r\n-----END PGP SIGNATURE-----\r\n"},"main":"./dist/index.js","name":"apollo-tracing","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":"9e9543f6b7f7ce0b6ce6d59f06f10f4ec18d8a26","license":"MIT","_npmUser":{"name":"apollo-bot","email":"npm@apollographql.com"},"homepage":"https://github.com/apollographql/apollo-tracing-js#readme","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":"lerna/3.13.1/node@v8.15.1+x64 (darwin)","description":"Collect and expose trace data for GraphQL requests","directories":{},"maintainers":[{"name":"apollo-bot","email":"npm@apollographql.com"}],"_nodeVersion":"8.15.1","dependencies":{"apollo-server-env":"2.3.0-alpha.0","graphql-extensions":"0.6.0-alpha.3"},"_hasShrinkwrap":false,"readmeFilename":"README.md","peerDependencies":{"graphql":"0.10.x - 14.2.x"},"_npmOperationalInternal":{"tmp":"tmp/apollo-tracing_0.6.0-alpha.2_1554483152128_0.7314616067934934","host":"s3://npm-registry-packages"},"_id":"apollo-tracing@0.6.0-alpha.2","version":"0.6.0-alpha.2"}