{"bugs":{"url":"https://github.com/apollographql/apollo-tracing-js/issues"},"dist":{"shasum":"e4c6abd78f55803da7a850f8030472d99689cee4","tarball":"https://registry.npmjs.org/apollo-tracing/-/apollo-tracing-0.5.0-alpha.2.tgz","fileCount":8,"integrity":"sha512-gh5mrUq6IOWz/WmA4lm4vohLaVft/la67SNcff5i/eHzhA4GN4Sg8T6PNRFhqnsScf2Cn3k/ELjerqOoEUqpLw==","signatures":[{"sig":"MEUCIDc1ZnF6z4iCDGa3Wrl2KerwKfGQkPbjWWKxDiT8O7DkAiEA7PbBEfTyxLmndpVj5/KpP7b3vbvJeSjdnfdk9FE/9Kg=","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\nwsFcBAEBCAAQBQJcSHMuCRA9TVsSAnZWagAAbEMP/1t/59M0JwElNmbgflEx\nZ0APIvYjYC0N1rfgMNnY5IU+Fun/OxkHnc7oPT/qu4k/FaO/cHT6saYpaZ9D\nGwjEpqS9ntGmOlLxk5k/REtgo8Gdg3CjLvZuQcfdCYyOM16p7hUdWT0UlPg4\nxGjJkiBUyG1pUJwI5fZjR86OvlN+0NE8+n9TzAzboChulw9y0vhlPfc1Qq2d\nD0vDjMzybAlvCNwFmX8+9LIROJ6kr12gKW8cL8n4Ovom/MLDi+WXsVViQ9ca\nM1BmRpfP2t2sr/AUvS78aeGWICD3+ev5uTGE5oEIo/2QRf5voy66pOLqzeUx\nEjOhV+CNHNWTzIN0ptgHWpfvLpLlq4+252iUYeZXRzCnHhXmr1XL5weGM5Bo\n9GPpeN27gPtXBUSKCu+NbeOETg4TgmyzRaq3UQ5ZNUokpqEFu+nd05CMnnP8\nD02KX/335ak9SrEcGynP8HcaEKFzoRbj1K7nSWJUVGa0nkfvzVJ1orEFj0V3\nManGu7wnMvlF9IwEAU1ehZ2w2GVTH8Q+r4CKWNQWmuIKajFrgpnWyi+qlJiw\nLHTldQXl9LYRF7AZ62ZNNwXheQukdj1CVzrMvllCEwNG12QFG9RylLNdmdX+\n3IcScOpV2bkaIRbogNH2x0rF4XPfjkR5bKQ3DGjlfdlY6s+C8ggRLeXovxWD\nB6FY\r\n=R9Rk\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":"f045a4d0c94faa61433a933edd34e274319f8f32","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.10.6/node@v8.15.0+x64 (darwin)","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.15.0","dependencies":{"apollo-server-env":"2.2.0","graphql-extensions":"0.5.0-alpha.3"},"_hasShrinkwrap":false,"readmeFilename":"README.md","peerDependencies":{"graphql":"0.10.x - 14.1.x"},"_npmOperationalInternal":{"tmp":"tmp/apollo-tracing_0.5.0-alpha.2_1548251950366_0.29277950124039065","host":"s3://npm-registry-packages"},"_id":"apollo-tracing@0.5.0-alpha.2","version":"0.5.0-alpha.2"}