{"bugs":{"url":"https://github.com/apollographql/apollo-tracing-js/issues"},"dist":{"shasum":"5e9904bd9c5f45a6943857c546947d3cd5dace83","tarball":"https://registry.npmjs.org/apollo-tracing/-/apollo-tracing-0.7.4-alpha.0.tgz","fileCount":8,"integrity":"sha512-moah2FNSnH39bCZ8h2q+jNJ600rGkn8bfZp8vHYgR2zC+ADTP02KgAaVJJKnz6HHzLSVHbQAX+sRhe/93c6CaQ==","signatures":[{"sig":"MEYCIQC6iSSQoD2lemX5XxX0P3slxT3O9su/Hg30tKHZvvxnVwIhAIPOWNgNZOodyttRH5BmYatgOoE0MSFsEkd/KnWk733P","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":13655,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdEptfCRA9TVsSAnZWagAAlqkP/AqsECqG2EpvhN8US11G\nEld+iK75GpCiBQHvcYjjIdPCB7Jcm0+hqW00pRuJJtnfKSvM3slh6LtPMe4E\nRoFcqxYrFqIEdMBiQIThllHlTdZAnyejePsLHuM/DRfjgF+VQbUHkMv1HHCr\nrFQ1K63r+5MPB4oMBkNTsojE7DqPi5iqxZ0XCtzxVqHtiI19WHuD4quTEt7M\nno/k1H+y7UVAzN+JRnfl5n/hkXO1Oz5GgttTA+yShAh9/zvsPSD6rpYXdxhi\nCB8CO/0yj6qJ9ClRHJuZM3xmd2i3xPoucihxvj53SLhb9u9zbu8RyatBENfJ\npkcEKVZyggAuMXutZLTswvX8bCC1SdR/RUf5DWId/DJt6ekcW3kJFAs2Wt6D\n6DcgfQpj/knEwjSKmDET8LBjlqEYwT8Ujjw961BQwPBob+L8IDUJL2b868EE\nQCeSb5uijq82EMMwJfPwrm7uKys2IiQ/BGMVCqY05b1kf0KIxSHU5H8YOtVF\ny2fRCy1oH3O7iu9zytJc8CIkCYOYJoYHK1Qxv6PYJ8Av5RhcuYGWaHDJ7ozr\n7toltP94xPRVNZarROOJRYiYnILw9mmTd37Zkv+52cDHg8vh82hK4NDv0Xtk\nuRAwNxh3gzarNvSgjMTfARaH7eONVNzoBIV82tqCJqMGummc9Lt8q1hnYG7a\ne7iu\r\n=tYQ6\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":"ec185a874c2f07b3724db62a3ec8560cfe3850af","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.4/node@v11.14.0+x64 (darwin)","description":"Collect and expose trace data for GraphQL requests","directories":{},"maintainers":[{"name":"apollo-bot","email":"npm@apollographql.com"}],"_nodeVersion":"11.14.0","dependencies":{"apollo-server-env":"2.4.1-alpha.0","graphql-extensions":"0.7.6-alpha.0"},"_hasShrinkwrap":false,"readmeFilename":"README.md","peerDependencies":{"graphql":"^0.12.0 || ^0.13.0 || ^14.0.0"},"_npmOperationalInternal":{"tmp":"tmp/apollo-tracing_0.7.4-alpha.0_1561500510565_0.966564054916426","host":"s3://npm-registry-packages"},"_id":"apollo-tracing@0.7.4-alpha.0","version":"0.7.4-alpha.0"}