{"bugs":{"url":"https://github.com/apollographql/apollo-tracing-js/issues"},"dist":{"shasum":"7134206c020519cbe6cc0c85d5b19834421ecc20","tarball":"https://registry.npmjs.org/apollo-tracing/-/apollo-tracing-0.6.0-alpha.6.tgz","fileCount":8,"integrity":"sha512-GTsDTrYs+4TkYARx+ZzoGNdLpnJ5CsRLiWqi73OPEKzLEIBtK3EfsYhQD2G7f0wwuK87WqtaB0onTOi+Sv5YAQ==","signatures":[{"sig":"MEYCIQC9qEG+fpl39NNg9wWhDSl5mWF1z36+aR62r86uafqQ5AIhAOlY6bYLxFcu3ZICya+jCFRkrJQ6kZ8VqUkYirOhgLMs","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\nwsFcBAEBCAAQBQJcsq7MCRA9TVsSAnZWagAAXbUQAJhSK2G1COO95jvg2Epy\nn2xVzBxMmut3vAgziquiYqbzZD381Q/9VXJ/kNP07ll8kjT6lVkiyZSCeq3h\ng/pvrNHR7c+2Z5iGF1r+Mz08BkR6RRsHEdDve7lb9knTE3Fq4JC4V2kho0KF\no4n9uUC4JoCq1Yy64A7X7YH8RvbxiunuD0BPyMLNyErvfKJmurs1x4nLafBv\n6KlfmRVT6YzqlDCs7XJtjTs+ZVkwLc5dVopzeKmweAofG35sTwHBjlC0s/xM\n8H8kiLLlTAyGBUuG5nWWN0QURO1o0aOdxdZXDy44CBv9iMgAZgxtTXBvK7oQ\nT0pxkRi9ydKX2JMwKYqGGGoq8Ph/+8c4iqI3WVEIHzMRBKW/DTjBrcZUGzSN\nYhkyD0fIoeE0PCqaDPW47BQJDwKQsf6aVSM9zaIUHuQK/+cBRqQzx0unixBX\ny7aKx+VZXPYHqwS+Vg6PJ6IBzmAncgY7Q0kjep8jVcQt9dGKWaUVL4x3GMBJ\nq++DWEs2KIM7OBDgHfNelCXQIJiasDVDTJh1cCU7hBPUPvFZw03P0FY+y2cE\nAOn0+CsnDFVTCG7PER4gF9IGbkzMdZRGjc070kQiPkPwgdDSC/3kqbFggjOw\nqk+JT6skEGaKzqR7CFxAEBYJm0CB8Frhqtz0RtZBzJYPjo0vlQG0XCvyJTBV\n2Zvo\r\n=FKld\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":"551c7580cdc3082f590ce2c52161e51496d45cf7","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.1/node@v11.2.0+x64 (linux)","description":"Collect and expose trace data for GraphQL requests","directories":{},"maintainers":[{"name":"apollo-bot","email":"npm@apollographql.com"}],"_nodeVersion":"11.2.0","dependencies":{"apollo-server-env":"2.3.0-alpha.0","graphql-extensions":"0.6.0-alpha.6"},"_hasShrinkwrap":false,"readmeFilename":"README.md","peerDependencies":{"graphql":"^0.12.0 || ^0.13.0 || ^14.0.0"},"_npmOperationalInternal":{"tmp":"tmp/apollo-tracing_0.6.0-alpha.6_1555214027862_0.7827405303424608","host":"s3://npm-registry-packages"},"_id":"apollo-tracing@0.6.0-alpha.6","version":"0.6.0-alpha.6"}