{"bugs":{"url":"https://github.com/apollographql/apollo-tracing-js/issues"},"dist":{"shasum":"0cef8028efd834f2d978adf0d56f860193386603","tarball":"https://registry.npmjs.org/apollo-tracing/-/apollo-tracing-0.9.1-alpha.4.tgz","fileCount":8,"integrity":"sha512-GxJ1W/wmgVsMD0eqvMkYicIBFrqLsrwn3g/HemXtsjC6/zHyEKX2I2jUxaAeO6ECe1U7NLKfR2WwAHizFF/REQ==","signatures":[{"sig":"MEUCIQDjPVR4BashkiC9J+83lnEImKCKok1uThZE9SGuaRPljwIgZ3efzYsb7rqqUVeWrnEjaelqynusnU2id3X4Kqa8OV0=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":13708,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJefLQGCRA9TVsSAnZWagAAveYQAJC2arlPw6+6KXyrOUaA\nNNayyjPcHvhHz74mKa8mHwkrFiSWJvBgIRCEQkWZpLs4+IAB28caxHu3a/5L\nfEXkVeW27c/4JV6UentkhzqAWLMkV2q3unmKJIlQ7caJ4nOVcGX+eR+EPkKc\nEqHPWMkD4eCbfeb2Dm4R7FEyj9tuQF1iWQhsydcr4fK+JhRbGgaNbEV0/JOW\nJwbBQEIjM0vwi6Q62EZie7C/Cgm2MSGRQYUE0QFXdF/iAoPPrvg5vAMS2nmW\nLlZ5rPfudlLgje3ZTRVE8J94nNPAt+dqKoo1kBeBYY1BFu3vJraZf6FW/sIE\ncRFDL5SNRZzHe3dw3Z3RVyHpvs22WF/5k5fTm/GIOYO8XHITRoe7VB6ugaO1\nnNbJHbVJJ0XqAauAXKFsENw7wEyqFF3XaBUsufSCjLRDnf2KDFd3szZV2LqA\nv//m7GENksLcrGXWbKLHT7hUScku/TnPQW5ssh0klWpGhI5QwORt7Kg8veKu\nhYeqE18r2OrZ+HmDLF4WJZWff7gWaEh2des5w9Ink8701624UWpwUCo1pMoq\nMp6Ja/VJy+o7UKBGLzb4oLLzVBduTrM3GLHDmBKvM/yUoYf1Exe0dLfln0Ft\nrPOLnukJKxJs2zQzHhUHmvlbptLNMSyzvCD6DkyG3l9aiLiIOJM4ugUwfAdf\n5eFp\r\n=eCDc\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 Graph Manager](https://www.apollographql.com/platform/) (previously, Apollo 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":"a6189b32fec3f1ea1ee717e59d89c8137797aa50","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.20.2/node@v10.19.0+x64 (linux)","description":"Collect and expose trace data for GraphQL requests","directories":{},"maintainers":[{"name":"apollo-bot","email":"npm@apollographql.com"}],"_nodeVersion":"10.19.0","dependencies":{"apollo-server-env":"^2.4.3","graphql-extensions":"^0.11.1-alpha.4"},"_hasShrinkwrap":false,"readmeFilename":"README.md","peerDependencies":{"graphql":"^0.12.0 || ^0.13.0 || ^14.0.0 || ^15.0.0-rc.2"},"_npmOperationalInternal":{"tmp":"tmp/apollo-tracing_0.9.1-alpha.4_1585230854285_0.06275202435848626","host":"s3://npm-registry-packages"},"_id":"apollo-tracing@0.9.1-alpha.4","version":"0.9.1-alpha.4"}