{"bugs":{"url":"https://github.com/apollographql/apollo-tracing-js/issues"},"dist":{"shasum":"ed4d6f5d851caea09cb09befa899d2f8426c43d2","tarball":"https://registry.npmjs.org/apollo-tracing/-/apollo-tracing-0.7.4-alpha.8.tgz","fileCount":8,"integrity":"sha512-jpQE/DeCQemEZLqu3+aQhvf5Cp8/Si9Uy8Es7kWliC+NtICRpt4rP4CH3KAIhTo/SqasoXEJrTLP34xpGWeIsQ==","signatures":[{"sig":"MEYCIQDJBWzJcCoX23crrZ6ctv0qEPwcCMuhCBZbHaF2xhxGSAIhAN2lCJo9n0jzRZ+pWYVCMA9toXItfRiBKera/JPtFLu9","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":13647,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdH1UfCRA9TVsSAnZWagAA2DAQAKQal/qxkDZMlw6K6++c\ntkabP3/poSGzT/Tfswb6YqzkKLN10P+GgwDiA3a17S1NTr/1MtZf3mkG6JEO\nK9ZO2bsSOd9DxJS1yGF50DB47P/ffSZsm0RylGQnl+uSUjn9CKvSQtqnultK\nca4bqbQ66Ais6MvriXbjzjAyqP8hO5ekqLAbj2wQskXiGQqSFOCXXGE6E58j\n4a/JfM+I4LFXVcTHzqp51vg1jnK+xZ9kj+4z6QaqxZ6PM+WNDMGG6s2mudjG\n+TVlUbhZOjMYPpmfC/V2liRXwNlBytieYiqb3uPGprKtpKQ9y6qNCNBQc/Q+\npU8WPsF+hIvEgr9wY7DNz0Q33v+G1LyEpEoLjxkRzo+5Y70PNo0wVwKuRCvD\nlaLLQOUAOsjFWzAKUykgEHan3I8MbG9+tSyuypPByhzm7ypuZRhi7NlBwl5j\nBDOeCs3zxz2U9XZj6RFFTSJKgtAiENuvMc4qiKrH/Fq5Gzki/SzRCPPXvCxW\ngMM0KqijbjVFRu9ILP3CWstXVAI9O3Jlg4a4aImYyJsgzCRyfrnKQNMAsXZp\nJQr1DGy3E+qnGXYrWIeabsc3DvokAGg3gfORu3mQEtUsFPJWNXf7GmV64XJQ\n0BPS95RNrQFCF4mLmp/muS+/8MQiWqeRxb5eRCKua+A1B34ERl/u+O+44y5m\nAjUv\r\n=5eWQ\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":"02feb8a5fed73c529a119e2d24a74ade1e812e69","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@v10.15.1+x64 (darwin)","description":"Collect and expose trace data for GraphQL requests","directories":{},"maintainers":[{"name":"apollo-bot","email":"npm@apollographql.com"}],"_nodeVersion":"10.15.1","dependencies":{"apollo-server-env":"2.4.0","graphql-extensions":"0.8.0-alpha.8"},"_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.8_1562334494470_0.42752863980150035","host":"s3://npm-registry-packages"},"_id":"apollo-tracing@0.7.4-alpha.8","version":"0.7.4-alpha.8"}