{"bugs":{"url":"https://github.com/apollographql/apollo-tracing-js/issues"},"dist":{"shasum":"3f0dbaa96860f150b28c02690563d7d67b6a4e75","tarball":"https://registry.npmjs.org/apollo-tracing/-/apollo-tracing-0.3.4-alpha.0.tgz","fileCount":8,"integrity":"sha512-T+PEhfTBC9S7mqANnL0CyYCE4qFtp/dG9wmIgAKcBpmiLTjz4ABa1eK1psEqCxeja2hTa+4fipaS9+Km+1arKQ==","signatures":[{"sig":"MEYCIQDqut0yL++by0NxcP1x5DO013Dc9YYct5U4eORSco/DxQIhAMSed4yvg5Uj6o8O1tYVwcf0HOI2lFSQ3nlkik5oYyRw","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":13633,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJcBmiZCRA9TVsSAnZWagAAUmUP/RIZsLKwG2uktl1SzfS5\n8vn0/fG5QoOZcfb3+dQ87F+X5r8BFrpixX32WzAfHGjYDN2vsSRzv622NIjE\nz/p+hH5cqYeX01yd2U8GuA7ZgXI/Pl/BdBR52ejhzpqCVXTwJUJpt8eko0sG\nVXBuLoeuaGwUNsxxuaL/E+mGdoItjZzXLDNp9NElwddfMbWZBPTlY/uly/Yn\nLfJNOcNJ6WtQFDmQHGP6UwiOuGE4ybRX65N1bEw37DgblNGKdo7EtUh6Dfha\nMAMpjVnM5K3QnKoq9TUnPTSjvg/bE0YiotuhmRpTRy92o4Mqf8NkeJOuxVP3\n62+isU8Z420Ano1ACOIaPIXKBv/7msWVcMJsYXzFjptpmwNV1KFlWkowdHYT\nZ1p2ob+lkji4aUugxH8WnaGQvKKCT3BP7trIpETpQ/K0rvov+wt5/6KSyUA8\nnay1PrjRGXk+oon8rvhS+qHXT1ETfqyPuGcG+dhNBQjWmfP7742g2+jvm7Or\nKTcK2ZACi0vqTswyGiTJy2DQ90vI3j01e7RrOJjua00nnXaVzGHklt16KbWd\nyS8tewYT8G9m/0CBwvegWd5H8IduvtkSShZb+GAZcBxnLkXuihXG0EAs6KOK\nqIHnkdzijztQ2G025AybF+uvaVAi+IxEKVHmLKsSoAB/+0c7TMWDEhAy3hh7\nlG4A\r\n=pim0\r\n-----END PGP SIGNATURE-----\r\n"},"main":"./dist/index.js","name":"apollo-tracing","_from":"file:apollo-tracing-0.3.4-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":"ccf0aa54769d368399fe643efc2f529e20fda4a5","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.2.0","graphql-extensions":"0.3.7-alpha.0"},"_hasShrinkwrap":false,"readmeFilename":"README.md","peerDependencies":{"graphql":"0.10.x - 14.0.x"},"_npmOperationalInternal":{"tmp":"tmp/apollo-tracing_0.3.4-alpha.0_1543923865274_0.5443546536750523","host":"s3://npm-registry-packages"},"_id":"apollo-tracing@0.3.4-alpha.0","version":"0.3.4-alpha.0"}