{"bugs":{"url":"https://github.com/apollographql/apollo-tracing-js/issues"},"dist":{"shasum":"472a75d54b8f973879db319600761c979ec3565d","tarball":"https://registry.npmjs.org/apollo-tracing/-/apollo-tracing-0.7.4-alpha.2.tgz","fileCount":8,"integrity":"sha512-9mreZuowCNZFxkGz0S2tteTyvbAD+B8nzNo8P+NRmgX0mEKhz8+be3ud6wCpsG8L2A46fpSej5LRaJySjZBEqg==","signatures":[{"sig":"MEUCIQDaRqONArHXl1MhPIqeOz6UBQecoVgQNilpdnThqosAmQIgBOrVOLLhh6A7LtxctO8ImMm5GdtaQjfuh71Wm7nj+d4=","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\nwsFcBAEBCAAQBQJdGTLsCRA9TVsSAnZWagAAovwP/3HccGP4nq+y8YFV0GgE\nZlSA2ontQ/VDJsvmxVS3QzPJzzNVgV3yr9bi5FBpXis2FPHR25WXD5VLSIpr\nH4CnUdka9BGUPp3NeaZixcJe76NfSUDNBJI3tvVk9Mz8zx1Tpkx+igkB/U5T\n6i8B1NwE8yusef52XnGOPcgzYF+KhWqB4xY6yB2QPa82lvewAHpi5y5/MbVU\nCUSwrey89njA/rgRTJCZ6DTA7S+lqNR48IK/Tufh40h/b1E4iHfCE95lORzg\nl2FM3SQqOfZ3Uvu66CcJNMw9skBoZuW7naNXDK/55oh4Rfl6D8LHBQsBM7S7\nQABSWCJgShT3bbSOrZOpcbcGW34/S27nhnX+LWiHZUsiXKYoz8fl/AhZjCUD\n8gZBvmpGBQd7e+0HCZwZNHTUmmHhNjlaC90oHXTdt+iDijgfMbvmamrpZDy4\neNAwbJTqSmiCksLu+ORsqk6gnMp0rI/Gq8Xfqtxy2sMYSbkG+rEBQSgID9Rg\nx7ShAitrglfxKM6kMtnWSpj090leYe7Gz+Jd2us1mcDKCFADOguII7m/2bSg\nVFDz2iXSYc1WhEQHrmGX/68qQ3132HBuYy900BJ4tAbuaoqU4/NMNZkRFxgP\nVe/MXVYHzBK7bhi1SHMddhe0XAhBZ5Yq9ih2T/uQyx6JNbHEXSPa59jKd4CI\n6Okw\r\n=MNZW\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":"c42d817836c10e3b59cc1afd0163eec59d7bec90","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.2"},"_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.2_1561932523955_0.6021463967268759","host":"s3://npm-registry-packages"},"_id":"apollo-tracing@0.7.4-alpha.2","version":"0.7.4-alpha.2"}